2010/1/22 François Duvalier <m.francois.duval...@gmail.com>:
> Hi,
>
> When I execute this command:
>
> curl -XGET -i http://localhost:8080/app/rs/system/EN/foo%2Fbar
>
> I receive a 400 BAD REQUEST.
>
> However if I deploy the app to Jetty, the command will work fine.
>
> Question: Is there a way to configure tomcat to behave like jetty with
> regards to percent-encodings in the URI ?
>

It is disabled by default, probably for the sake of security. See
ALLOW_ENCODED_SLASH property here:

http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to