Wicket (the web framework used by Gitblit) replaces forward-slashes in
parameters with %2F. It has to do this because it uses
forward-slashes to delimit parameters in mounted/pretty urls.
Example:
http://localhost/param1/param2/param3
if param2 had a a '/' in it then Wicket will not be able to identify
param3. So Wicket replaces the '/' with %2F so the url will be:
http://localhost/param1/my%2Fparam%2F2/param3
Some proxy's really do not like %2F encoded values and they re-encode
those as / before forwarding on to Gitblit. This breaks
Wicket/Gitblit. When you are running behind a proxy you have to take
an extra step or two to make sure your urls work properly.
Pick one:
1. web.mountParameters = false
2. web.forwardSlashCharacter = !
For example the demo site runs on a JBoss instance behind one of
RedHat's proxy servers. The demo uses web.forwardSlashCharacter = !
to get around proxy server interference.
e.g.
https://demo-gitblit.rhcloud.com/blob/gitblit.git/67d4f89b0cddb3de05c20e08c20f1bea714c2a9e/src!com!gitblit!GitServlet.java
-J