tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn Brinkers <martijn.l...@gmail.com>
Subject Re: [T5] 5.0.17 URLEncoderImpl.decode error
Date Wed, 10 Dec 2008 22:29:36 GMT
The URL encoder has been changed. 

@ for example is now encoded as $0040

See https://issues.apache.org/jira/browse/TAP5-302


Search the archive for what and why things have changed
http://tapestry.markmail.org

Martijn Brinkers



On Wed, 2008-12-10 at 23:19 +0100, Leon Derks wrote:
> Hello
> This evening I tried tapestry 5.0.17
> 
> When I type in the following url in my application:
> http://localhost:8090/tapestry/test/user/user@company.com
> 
> I do get an java.lang.IllegalArgumentException
> It says: "Input string 'user@company.com' is not valid; the character 
> '@' at position 5 is not valid."
> Stacktrace:
>     
> org.apache.tapestry5.internal.services.URLEncoderImpl.decode(URLEncoderImpl.java:143)
>     
> org.apache.tapestry5.internal.services.ContextPathEncoderImpl.decodePath(ContextPathEncoderImpl.java:70)
>     
> org.apache.tapestry5.internal.services.PageRenderDispatcher.process(PageRenderDispatcher.java:88)
>     
> org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:71)
>     
> org.apache.tapestry5.services.TapestryModule$17.service(TapestryModule.java:1029)
> 
> I didn't had this problem in tapestry 5.0.14.
> I searched in the changes, but couldn't find a change that would cause 
> this error.
> 
> Any ideas?
> 
> Leon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Mime
View raw message