[ https://issues.apache.org/jira/browse/WW-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15529042#comment-15529042 ]
Hudson commented on WW-4628: ---------------------------- SUCCESS: Integrated in Jenkins build Struts-JDK7-master #531 (See [https://builds.apache.org/job/Struts-JDK7-master/531/]) Revert "WW-4628: proper decoding of parameters in query-string" (gregh3269: rev 51a49201adf73e33ba68d533f3535a32f507b531) * (edit) core/src/main/java/org/apache/struts2/views/util/DefaultUrlHelper.java * (edit) core/src/main/java/org/apache/struts2/util/URLDecoderUtil.java * (edit) core/src/test/java/org/apache/struts2/util/URLDecoderUtilTest.java * (edit) core/src/test/java/org/apache/struts2/views/util/DefaultUrlHelperTest.java Revert "WW-4628: proper decoding of parameters in query-string" (lukaszlenart: rev d9fe1406ee287226704fdd5e3a53d59e6b0a556f) * (edit) core/src/test/java/org/apache/struts2/views/util/DefaultUrlHelperTest.java * (edit) core/src/main/java/org/apache/struts2/util/URLDecoderUtil.java * (edit) core/src/main/java/org/apache/struts2/views/util/DefaultUrlHelper.java * (edit) core/src/test/java/org/apache/struts2/util/URLDecoderUtilTest.java > Space character and includeParams > --------------------------------- > > Key: WW-4628 > URL: https://issues.apache.org/jira/browse/WW-4628 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.3.28 > Reporter: Pierre-Yves Soblet > Assignee: Christoph Nenning > Fix For: 2.3.31, 2.5.3 > > Attachments: Struts2UrlTest.zip > > > With this JSP snippet using Struts 2 taglib: > {code} > myParameter=[<s:property value="%{#parameters['myParameter']}"/>] > <br/> > <s:url action="url" includeParams="get"/> > <br/> > <s:url action="url"> > <s:param name="myParameter" value="%{#parameters['myParameter']}"/> > </s:url> > {code} > When the action is called with a parameter containing a space (which is > escaped in the URL) : > {code} > localhost:8080/url?myParameter=with+space > {code} > The output is as follows : > {code} > myParameter=[with space] > /url.action?myParameter=with%2Bspace > /url.action?myParameter=with+space > {code} > The *includeParams* attribute of the “url” tag seems to transform the "space" > character into the "plus" character (both in their url-encoded forms). -- This message was sent by Atlassian JIRA (v6.3.4#6332)