summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-12-12 08:19:33 -0500
committerJames Moger <james.moger@gitblit.com>2013-12-12 08:19:33 -0500
commit124382da3d308483b068df7a65122ff6d98f2e21 (patch)
tree46c2f18c14232ddede778deaf63bbc927561b513
parent65d5bb3f1cbfb42be5a3c4aa077b7ab2504082af (diff)
downloadgitblit-124382da3d308483b068df7a65122ff6d98f2e21.tar.gz
gitblit-124382da3d308483b068df7a65122ff6d98f2e21.zip
Fixed regression in /r/ security due to Servlet 2.5 rollback
Change-Id: Id7e882cf48689ace8910718e0091207f8e8c6912
-rw-r--r--src/main/java/WEB-INF/web.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/WEB-INF/web.xml b/src/main/java/WEB-INF/web.xml
index c082b944..8840805c 100644
--- a/src/main/java/WEB-INF/web.xml
+++ b/src/main/java/WEB-INF/web.xml
@@ -203,6 +203,14 @@
<filter-name>GitFilter</filter-name>
<url-pattern>/git/*</url-pattern>
</filter-mapping>
+ <filter>
+ <filter-name>GitFilter2</filter-name>
+ <filter-class>com.gitblit.servlet.GitFilter</filter-class>
+ </filter>
+ <filter-mapping>
+ <filter-name>GitFilter2</filter-name>
+ <url-pattern>/r/*</url-pattern>
+ </filter-mapping>
<!-- Syndication Restriction Filter