Reply To: Rewrite is changing escaped url to not escaped

Splash Forums Rewrite Users Rewrite is changing escaped url to not escaped Reply To: Rewrite is changing escaped url to not escaped

#27074

As I said earlier using %2F in path segments is always dodgy. There are many cases where something like this is even forbidden.

Apache httpd for example forbids URLs containing %2F by default:

http://httpd.apache.org/docs/2.4/mod/core.html#allowencodedslashes

It is the same for Apache Tomcat. You have to set a system property to allow encoded path separators:

-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true

I think it will be difficult to fix this in the Address class of Rewrite. However, any help with fixing this is welcome.

In the case of images you should try to render simple HTML img elements instead of using h:graphicImage. This should work fine.