James Moger
2012-10-02 9bdf88df00e9abf99442e14a33ed6215b32026b6
refs
author James Moger <james.moger@gitblit.com>
Tuesday, October 2, 2012 17:22 -0400
committer James Moger <james.moger@gitblit.com>
Tuesday, October 2, 2012 17:22 -0400
commit9bdf88df00e9abf99442e14a33ed6215b32026b6
tree d642132cf30dd68e841f3e1a52c3ae9ea1ad8f80 tree | zip | gz
parent 0c7c4936d4119e6edc9001815f1a4f14ba81d929 view | diff
Use a custom redirect mechanism to workaround servlet container interference

This mechanism bypasses the standard Wicket redirect mechanism because it
turns out that the servlet container reencodes Wicket's relative redirect urls.
This results in another way that parameters with forward-slashes can be borked.

Bad, bad servlet container.

org.eclipse.jetty.server.Response#L447: String path=uri.getDecodedPath();
3 files modified
1 files added
69 ■■■■ changed files
src/com/gitblit/wicket/GitblitRedirectException.java 49 ●●●●● diff | view | raw | blame | history
src/com/gitblit/wicket/pages/EmptyRepositoryPage.java 6 ●●●●● diff | view | raw | blame | history
src/com/gitblit/wicket/pages/ProjectPage.java 8 ●●●● diff | view | raw | blame | history
src/com/gitblit/wicket/pages/UserPage.java 6 ●●●● diff | view | raw | blame | history