Hello Harald,

thanks a lot for your report, the fix is now available in the svn 
repository.

Best regards,
Thierry Boileau

> I'm using the Restlet GWT edition to build and submit forms. My form values 
> may contain special characters like '?', '&', '=' and others. Unfortunately 
> it seems that these characters are not encoded correctly.
>
> Looking into the code I noticed that the form parameters are encoded with 
> Reference.encode(String toEncode, CharacterSet characterSet) which in turn 
> uses com.google.gwt.http.client.URL.encode(String). This method does not 
> encode URL component delimiter characters (; / ? :&  = + $ , #). IMHO the 
> encoding should be done using 
> com.google.gwt.http.client.URL.encodeComponent(String).
>
> Can anybody confirm this?
>
> Harald
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2457104
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2457420

Reply via email to