You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2007/02/12 01:48:16 UTC

[jira] Updated: (WW-1723) Action mapping type=redirect-action appends !password if no method param is specified

     [ https://issues.apache.org/struts/browse/WW-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-1723:
---------------------------

    Fix Version/s: 2.0.7

> Action mapping type=redirect-action appends !password if no method param is specified
> -------------------------------------------------------------------------------------
>
>                 Key: WW-1723
>                 URL: https://issues.apache.org/struts/browse/WW-1723
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.0.5
>         Environment: WinXP, Tomcat 5.5
>            Reporter: Brian Thompson
>            Priority: Minor
>             Fix For: 2.0.7
>
>
> When an action mapping is defined in struts.xml with a result type of redirect-action and a runtime-parsed URL parameter, the URL that gets generated will be of the form
> http://www.example.com/proj/action!password.action?id=1234
> Instead of the expected
> http://www.example.com/proj/action.action?id=1234
> Adding <param name="method">foo</param> to the mapping changes the URL result to
> http://www.example.com/proj/action!foo.action?id=1234
> The action mapper needs to default to not specifying any method in the URL string.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.