-
Notifications
You must be signed in to change notification settings - Fork 37
Apache Tomcat
Philip Helger edited this page Feb 23, 2021
·
3 revisions
Apache Tomcat must be set up with the following java system property:
org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH = true
It's also important that if you deploy as a WAR file, that "unpack WARs" is enabled (which it is by default).
This can be done by adding:
-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH="true"
as a JVM argument (Tomcat Properties -> Java -> Java Options) or
put it into the catalina.sh
in Linux:
CATALINA_OPTS="$CATALINA_OPTS -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true"
or catalina.bat
on Windows:
set CATALINA_OPTS=%CATALINA_OPTS% -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
It is appreciated if you star the GitHub project if you like it.
Donation link: https://paypal.me/PhilipHelger
- Home
- News and noteworthy
- Migrations
- Download
- Features
- Configuration
- Running
- Source related
- Other information
- Future plans
- License
- Release Tasks