Clarified Tomcat forward-slash encoding in documentation (issue-29)
| | |
| | | #
|
| | | # <https://issues.apache.org/jira/browse/WICKET-1303>
|
| | | # <http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10>
|
| | | # Add *org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true* to *CATALINA_OPTS*
|
| | | #
|
| | | # SINCE 0.5.2
|
| | | web.forwardSlashCharacter = /
|
| | |
| | | Tomcat takes the extra precaution of [disallowing embedded slashes by default](http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10). This breaks Gitblit urls.
|
| | | You have a few options on how to handle this scenario:
|
| | |
|
| | | 1. [Tweak Tomcat](http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10) |
| | | 1. [Tweak Tomcat](http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10) |
| | | Add *org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true* to *CATALINA_OPTS*
|
| | | 2. *web.mountParameters = false* and use non-pretty, parameterized urls
|
| | | 3. *web.forwardSlashCharacter = !* which tells Gitblit to use **!** instead of **/**
|
| | |
|