Merge changes I1448b1e3,Ic812ac12

* changes:
  Tomcat: Describe configuration to allow embedded slashes
  Bump servlet API to 8.0.5
This commit is contained in:
Shawn Pearce 2014-04-27 17:28:12 +00:00 committed by Gerrit Code Review
commit bdbcb379d2
2 changed files with 17 additions and 2 deletions

View File

@ -109,6 +109,21 @@ Under Jetty, restarting the web application (e.g. after modifying
`system_config`) is as simple as touching the context config file:
`'$JETTY_HOME'/contexts/gerrit.xml`
== Tomcat 7.x
[TIP]
If reverse proxy is used in front of Tomcat then see the configuration
instructions for encoding slashes link:config-reverseproxy.html. Otherwise
Tomcat must be configured to encode slashes, by adding
-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true to
CATALINA_OPTS environment variable. Excerpt from the documentation
https://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html:
----
Property org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH:
If this is true '%2F' and '%5C' will be permitted as path delimiters.
If not specified, the default value of false will be used.
----
GERRIT
------

View File

@ -114,8 +114,8 @@ maven_jar(
maven_jar(
name = 'servlet-api-3_1',
id = 'org.apache.tomcat:tomcat-servlet-api:8.0.0-RC10',
sha1 = '975935b6203073938dfeeb28e4effc3b094c4fc4',
id = 'org.apache.tomcat:tomcat-servlet-api:8.0.5',
sha1 = '9ef01afc25481b82aa8f3615db536869f2dc961e',
license = 'Apache2.0',
exclude = ['META-INF/NOTICE', 'META-INF/LICENSE'],
)