Hi Folks,

I have an onSubmit from which i return a URL, which all works fine, unless I have a path fragment with certain characters, such a spaces.

So If I return a URL such as:

http://localhost:8080/web/buy/sports tops

I get:


Input string 'sports tops' is not valid; the character ' ' at position 7 is not valid.
From:
org.apache.tapestry5.internal.services.URLEncoderImpl.decode(URLEncoderImpl.java:143)


More suprisingly, If I URL encode the path using either + or %20 for spaces I get pretty the same e.g.: Input string 'sports+tops' is not valid; the character '+' at position 7 is not valid.
From:
org.apache.tapestry5.internal.services.URLEncoderImpl.decode(URLEncoderImpl.java:143)


Any clues here? I'm using 5.1.0.5
Thx
Joel

Reply via email to