Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Floflobel1 +XWiki.VincentMassol - Content
-
... ... @@ -293,22 +293,22 @@ 293 293 294 294 Tomcat completely freaks out when there's a ##%2F## or ##%5C## in URLs and it's not something that can be changed in XWiki. See [[this note>>http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10]] for more information. 295 295 296 -You can configure Tomcat to allow "/", by setting the followingsystem property:296 +You can configure Tomcat to allow "/", by setting the ##org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=## system property to ##true##, as in: 297 297 298 298 {{code}} 299 -org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true 299 +-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true 300 300 {{/code}} 301 301 302 -And the followingsystem property to allow "\":302 +And by setting the ##org.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH## system property to ##true## to allow "\", as in: 303 303 304 304 {{code}} 305 -org.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true 305 +-Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true 306 306 {{/code}} 307 307 308 -To have both properties permanently enabled on your tomcat instance add thebelow lines to your CATALINA_OPTS environment variable. How to achieve this depends on yourOperatingsystem, Tomcat distribution and single/multi-instance setup.308 +To have both properties permanently enabled on your Tomcat instance, add the lines below to your ##CATALINA_OPTS## environment variable. How to achieve this depends on your operating system, Tomcat distribution and single/multi-instance setup. 309 309 310 310 {{code}} 311 --Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true 311 +-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true 312 312 -Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true 313 313 {{/code}} 314 314