I have a need to update query of a request whenever there is a specific symbol is present "|". I need to escape that character since it's redirected to a Tomcat server and Tomcat doesn't support such symbol in URL by default.
<rewrite>
<rewriterule>
<action value="%7C" regex="|" type="replace" fragment="full"/>
</rewriterule>
</rewrite>
When I'm trying to use fragment "full" or "query" it doesn't do what it supposed to. How to achieve this?