James Moger
2013-11-16 6f442a4a7a66a0ba6d5189a0430cd5e95fb39ea8
refs
author James Moger <james.moger@gitblit.com>
Saturday, November 16, 2013 09:12 -0500
committer James Moger <james.moger@gitblit.com>
Tuesday, November 26, 2013 16:07 -0500
commit6f442a4a7a66a0ba6d5189a0430cd5e95fb39ea8
tree dde4f214bcc49a1f851df96124798d8609985d74 tree | zip | gz
parent 8a71a13f23e6352e8a50e500401959ca90eaf8dc view | diff
Automatically adjust web.forwardSlash on Tomcat containers

One issue that frequently arises in the discussion group and the bug
tracker is how Tomcat automatically re-encodes %2f as '/' which breaks
url parameters with %2f. After documenting this in half a dozen places
it still comes up. Clearly I haven't done enough.

Gitblit will now act on, instead of just report, an improperly configured
web.forwardSlash character on Tomcat containers. This will make Gitblit
"just work" for more users and will make the world a better place.

Change-Id: I344428804070a2d6082022cf6b80e2a3d83cea84
2 files modified
72 ■■■■■ changed files
src/main/java/com/gitblit/GitBlit.java 6 ●●●●● diff | view | raw | blame | history
src/main/java/com/gitblit/utils/ContainerUtils.java 66 ●●●●● diff | view | raw | blame | history