Hi,

I have a liltle problem with URL encoding with GWT (1.7.1).

I have a search page with few TextBox in it.
When I fill in a textBox with "foo#bar" (and validate the form) the
URL is right => "myParam=foo%23bar" (or maybe wrong since
URL.encode(String) should not encode '#')
When I fill in the textBox with "foo##bar" the URL is wrong =>
"myParam=foo%23#bar"

The problem is when GWT tries to dispatch the request to the
corresponding view it fails !
Let's have a look at the full (wrong) URL...
http://myServ:myPort/myApp/#myView/search/myParam=foo%23#bar

GWT searches the lastIndexOf('#') (cf app.nocache.js) and finally try
to dispatch to the view "bar" instead of "myView".

Why only the first '#' is encoded ?
How it is encoded ?

Does someone have a solution for this ?

Regards,
Jordan

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to