[
https://issues.apache.org/jira/browse/WW-3389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610055#comment-13610055
]
Hudson commented on WW-3389:
----------------------------
Integrated in Struts2-JDK6 #671 (See
[https://builds.apache.org/job/Struts2-JDK6/671/])
WW-3389 Adds statusCode param as a excluded param to hide it in built url
(Revision 1459660)
Result = SUCCESS
lukaszlenart :
Files :
*
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletRedirectResult.java
*
/struts/struts2/trunk/core/src/test/java/org/apache/struts2/dispatcher/ServletRedirectResultTest.java
> StatusCode parameter in the URL
> -------------------------------
>
> Key: WW-3389
> URL: https://issues.apache.org/jira/browse/WW-3389
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.1.8.1
> Reporter: Gabriel
> Assignee: Lukasz Lenart
> Priority: Minor
> Fix For: 2.3.13
>
>
> I have a redirect result configuration where I change the statusCode:
> {code:xml}
> <result name="permanentRedirect" type="redirect">
> <param name="location">${redirectUrl}</param>
> <param name="statusCode">301</param>
> <param name="prependServletContext">false</param>
> </result>
> {code}
> When the redirect occurs, it appends a statusCode parameter on the URL, like
> this: http://domain.com/path?statusCode=301
> It was working correctly on version 2.0.6, with no statusCode in the URL
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira