]> source.dussan.org Git - gitblit.git/commitdiff
Fixed regression in /r/ security due to Servlet 2.5 rollback
authorJames Moger <james.moger@gitblit.com>
Thu, 12 Dec 2013 13:19:33 +0000 (08:19 -0500)
committerJames Moger <james.moger@gitblit.com>
Thu, 12 Dec 2013 13:19:33 +0000 (08:19 -0500)
Change-Id: Id7e882cf48689ace8910718e0091207f8e8c6912

src/main/java/WEB-INF/web.xml

index c082b9447fbd3800cfb5ea472d228b23e609ec60..8840805cc2237c51d78d45e32ab2471b4b27e0f7 100644 (file)
                <filter-name>GitFilter</filter-name>\r
                <url-pattern>/git/*</url-pattern>\r
        </filter-mapping>\r
+       <filter>\r
+               <filter-name>GitFilter2</filter-name>\r
+               <filter-class>com.gitblit.servlet.GitFilter</filter-class>\r
+       </filter>\r
+       <filter-mapping>\r
+               <filter-name>GitFilter2</filter-name>\r
+               <url-pattern>/r/*</url-pattern>\r
+       </filter-mapping>\r
        \r
        \r
        <!-- Syndication Restriction Filter\r