struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4330) ServletRedirectResult and ServletActionRedirectResult do not support parameters on absolute URLs
Date Thu, 24 Apr 2014 21:37:23 GMT

    [ https://issues.apache.org/jira/browse/WW-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980333#comment-13980333
] 

ASF GitHub Bot commented on WW-4330:
------------------------------------

GitHub user dwaite opened a pull request:

    https://github.com/apache/struts/pull/10

    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 develop

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/struts/pull/10.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 #10
    
----
commit de31001a266ae9e122ec1747c8ae1c9a8ee20e51
Author: David Waite <david@alkaline-solutions.com>
Date:   2014-04-24T21:31:14Z

    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)

Mime
View raw message