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 "Benjamin Gould (JIRA)" <ji...@apache.org> on 2007/08/23 05:10:35 UTC

[jira] Commented: (PLUTO-420) Parameters not x-www-form-urlencoded

    [ https://issues.apache.org/jira/browse/PLUTO-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522001 ] 

Benjamin Gould commented on PLUTO-420:
--------------------------------------

I verified this using pluto-testsuite.  I'm attaching a patch to RenderParameterTest demonstrating Kay's use case described above.  I'm not really sure if it is a major functional problem, since it seems like my web browser (firefox) properly encodes the generated URL when I try to navigate to it.  Anyhow, we could simply run all of the encode* methods on o.a.p.driver.url.impl.PortalURLParser through encodeQueryParam() after they do their work in order solve this issue.

Pluto-dev, please comment on this;  I'll create a fix patch if that's the way you want to go.

> Parameters not x-www-form-urlencoded
> ------------------------------------
>
>                 Key: PLUTO-420
>                 URL: https://issues.apache.org/jira/browse/PLUTO-420
>             Project: Pluto
>          Issue Type: Bug
>          Components: portlet container
>    Affects Versions: 1.1-286-COMPATIBILITY
>         Environment: apache-tomcat-5.5.23
> Linux
> java version "1.5.0_12"
>            Reporter: Kay Schieck
>
> It seems that parameters added to a PortletURL not converted to a x-www-form-urlencoded figure.
> For instance
> PortletURL.setParameter("Ä & ü", "< ö >");
> leads to
> http://localhost:8080/pluto/portal//TCK00004/__rp0x3portlet0x1jp0x1RenderRequest0x1web0x2GetPublicParameterSetNullTestPortlet_Ä & ü/0x60x8ö0x80x7?"
> The key and a part of he value is not encodet.

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