[ http://issues.apache.org/jira/browse/PLUTO-246?page=all ]

David Hay updated PLUTO-246:
----------------------------

    Attachment: PortalURLParser.java-encodeURL.patch

Attaching patch to PortalURLParser.java that handles the URL encoding and any 
exceptions.

> 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
>         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

        

Reply via email to