[
https://issues.apache.org/jira/browse/WW-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980101#comment-13980101
]
ASF GitHub Bot commented on WW-4330:
------------------------------------
GitHub user dwaite opened a pull request:
https://github.com/apache/struts/pull/9
Change Servlet Redirect to support absolute URLs with parameters and anchors
Reported as [WW-4330](https://issues.apache.org/jira/browse/WW-4330)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dwaite/struts master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/struts/pull/9.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #9
----
commit 50410e40a9caa58e75275f36d3a505e5335d7b88
Author: David Waite <[email protected]>
Date: 2014-04-24T18:32:44Z
Change Servlet Redirect (and Servlet Action Redirect) to support absolute
URLs with parameters and anchors
----
> ServletRedirectResult and ServletActionRedirectResult do not support
> parameters on absolute URLs
> ------------------------------------------------------------------------------------------------
>
> Key: WW-4330
> URL: https://issues.apache.org/jira/browse/WW-4330
> Project: Struts 2
> Issue Type: Bug
> Components: Other
> Affects Versions: 2.3.16.1
> Reporter: David Waite
> Fix For: 2.3.18
>
> Attachments:
> 0001-Change-Servlet-Redirect-and-Servlet-Action-Redirect-.patch
>
>
> I noticed after an upgrade that when the location returned from the action
> mapper was a full absolute URL, parameters were no longer being appended.
> Investigating, it appears a conditional for handling context roots and
> namespaces expanded to also eliminate parameter and fragment/anchor appending
--
This message was sent by Atlassian JIRA
(v6.2#6252)