Skip to content
Snippets Groups Projects
Commit 92f665be authored by Vincent Massol's avatar Vincent Massol
Browse files

XDOCKER-38: Configure Tomcat to allow encoded slash '%2F' and backslash '%5C' in URLs

* Added explanations
parent 0b29fd06
No related branches found
No related tags found
No related merge requests found
# By default, Tomcat does not allow the usage of encoded slash '%2F' and backslash '%5C' in URLs, as noted in http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10.
# This is why we're passing 2 system properties to allow for them as it's useful to be able to have '/' and '\' in wiki pahe names.
export CATALINA_OPTS="-Xmx1024m -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.