0

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?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.