Hi Martijn,
Thanks!
Yes, http://localhost:8090/tapestry/test/user/user$0040company.com
works, when I change the @ into $0040 manually.
But how can I automatically translate @ into $0040, because my code
still generates the '@' character in the url.
greetz,
Leon
Martijn Brinkers wrote:
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/[EMAIL PROTECTED]
I do get an java.lang.IllegalArgumentException
It says: "Input string '[EMAIL PROTECTED]' 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________ NOD32 3682 (20081210) Informatie __________
Dit bericht is gecontroleerd door het NOD32 Antivirus Systeem.
http://www.nod32.nl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]