Re: [T5.1] Input string is not valid; the character at position X is not valid

2012-08-29 Thread f.nemeth
I changed Steve's solution to replace the space character with Tapestry default $0020. The following link with %20 (=space) works now: http://localhost/b2c/productcatalog/article/detail/F/1K0061500P%20041/0 My code is: @Match("ContextPathEncoder") public static void adviseException

[T5.1] Input string is not valid; the character at position X is not valid

2010-05-08 Thread Steve Eynon
Hi, I found a way to prevent the above exception from being thrown (when T5 encounters a badly encoded URL) and return an empty EventContext to the page's onActivate() method instead. Essentially I just advise the ContextPathEncoder and return an empty EventContext if an IllegalArgumentException i