You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Craig Doremus (JIRA)" <ji...@apache.org> on 2006/08/24 08:48:54 UTC
[jira] Resolved: (PLUTO-246) PortalURLParser should URLEncode query
string parameters
[ http://issues.apache.org/jira/browse/PLUTO-246?page=all ]
Craig Doremus resolved PLUTO-246.
---------------------------------
Fix Version/s: 1.1.0
Resolution: Fixed
Applied David's patch in SVN revision 434170. Please confirm this fix. Thank you!
> PortalURLParser should URLEncode query string parameters
> --------------------------------------------------------
>
> Key: PLUTO-246
> URL: http://issues.apache.org/jira/browse/PLUTO-246
> Project: Pluto
> Issue Type: Bug
> Components: portal driver
> Affects Versions: 1.1.0-beta1
> Reporter: David Hay
> Fix For: 1.1.0
>
> Attachments: PortalURLParser.java-encodeURL.patch
>
>
> The PortalURLParser builds a query string for action window parameters. These parameters should be URL encoded to allow names and values to contain characters such as '&' and other special characters.
> Change line 219-220 as follows:
> query.append("&").append(URLEncoder.encode(param.getName(), "UTF-8")).append("=")
> .append(URLEncoder.encode(param.getValues()[i], "UTF-8"));
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira