[ 
https://issues.apache.org/jira/browse/WICKET-4019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104440#comment-13104440
 ] 

Martin Grigorov commented on WICKET-4019:
-----------------------------------------

As I can see there are no monkey-patched classes from Wicket distro so these 
classes can be packed in WicketStuff project.
There were some people asking for Portlet support in 1.5 so they will have a 
chance to play with this project while re-incubating in WicketStuff.

Before merging them back as wicket-portlet sub-module in Apache Wicket I'd like 
to have some tests. Preferably integration tests like the ones in 
wicket-examples - start Portlet container (Pluto?!), fire some requests, assert 
the responses.

> UrlEncoder - question mark not encoded in parameter values
> ----------------------------------------------------------
>
>                 Key: WICKET-4019
>                 URL: https://issues.apache.org/jira/browse/WICKET-4019
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-RC7
>            Reporter: Peter Pastrnak
>         Attachments: wicket-portlet-1.5.RC7.zip
>
>
> Url returned by the RequestMapper does not seem to be properly rendered, as 
> it does not encode question mark character in the Url parameter value (I 
> haven't checked the w3c spec, but at least Liferay Portal seems to require it 
> to be encoded) 
> The reason is this definition in the UrlEncoder: 
>                         case QUERY : 
>                                 // to allow direct passing of URL in query 
>                                 dontNeedEncoding.set('/'); 
>                                 // to allow direct passing of URL in query 
>                                 dontNeedEncoding.set('?'); 
> Currently URL "http://host/file?param=a?b"; would be encoded as 
> "http://host/file?param=a?b";, instead of "http://host/file?param=a%3Fb";

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to