Hi Hank, I've just wrote a unit test to cover your case (see attached, especially method testEncodedCharacters()). But it seems to work just fine...
Could you provide some sample code to reproduce? Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -----Message d'origine----- De : hank z [mailto:[email protected]] Envoyé : lundi 31 août 2009 19:25 À : [email protected] Objet : url encoded string in the route I have a string like this FtDF91VSX/7AN6C39k51ZV510SW/ot6SIGstq8XGCcHfOfHbZOZLUD4u+GUNK0bBawVZ4GR5TgV7 PtRbF+nm9abYJN6AWycdj9J6CLyU4D7Zou36KEjkel+0LtlGGhFPVrCvpBuqPy8V8o5IZ9tDys0P y6sXXAtEVbXBYeRYzOvIBzOZkIviIyceVCU+lYv/h9k7Fhlb1JGtKUCj3ZDg/vJ1Co7dOC1Ho3/e 0Fup7k9qgTuCvZRSHcpizaEFPNLp in my url, after encoded it, it will be FtDF91VSX%2F7AN6C39k51ZV510SW%2Fot6SIGstq8XGCcHfOfHbZOZLUD4u%2BGUNK0bBawVZ4G R5TgV7PtRbF%2Bnm9abYJN6AWycdj9J6CLyU4D7Zou36KEjkel%2B0LtlGGhFPVrCvpBuqPy8V8o 5IZ9tDys0Py6sXXAtEVbXBYeRYzOvIBzOZkIviIyceVCU%2BlYv%2Fh9k7Fhlb1JGtKUCj3ZDg%2 FvJ1Co7dOC1Ho3%2Fe0Fup7k9qgTuCvZRSHcpizaEFPNLp if I use this encoded string as token in the path,e e.g. /{token}/bookstore/{bookid} directly, it won't work, I have to add it as query using form like /token?token/bookstore/{bookid} to make it work. any suggestion why the encoded string won't work ? I also find that if I move the token to some other location, it works, but there has to be at least one query stirng in front in the path, such as /token1?{token1}/{token}/bookstore/{bookid}, int this case, I can use url encoded token in second segment directly. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23890 63 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2401922
TemplateTestCase.java
Description: Binary data

