You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Tom Schneider (JIRA)" <ji...@apache.org> on 2007/02/06 03:10:17 UTC

[jira] Updated: (WW-1619) URL component and URLHelper class do not handle multiple request parameters with the same name correctly when includeParams="get"

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

Tom Schneider updated WW-1619:
------------------------------

    Attachment: struts2-duplicateparams.patch

This is the forward port from the webwork fix.

> URL component and URLHelper class do not handle multiple request parameters with the same name correctly when includeParams="get"
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-1619
>                 URL: https://issues.apache.org/struts/browse/WW-1619
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Component Management
>            Reporter: Philip Luppens
>             Fix For: 2.0.x
>
>         Attachments: struts2-duplicateparams.patch
>
>
> See: http://jira.opensymphony.com/browse/WW-1376
> In reference to the following User Forum entry:
> http://forums.opensymphony.com/thread.jspa?threadID=50475&tstart=0
> When the URL component is used with the includeParams="get" and the current querystring already contains multiple entries for one parameter name, the resulting URL generated will only include the last one present. It seems that this problem does not occur in the includeParams="all", since that uses the parameter map, which returns a String[] for these kinds of parameters, and this was already handled with the fix to issue WW-347 (http://jira.opensymphony.com/browse/WW-347) 

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