Created
July 7, 2014 18:21
-
-
Save gissuebot/c16ef6f94f118d54f031 to your computer and use it in GitHub Desktop.
Migrated attachment for Guice issue 418, comment 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urb --exclude=.svn /home/java/src/guice-2.0-src/servlet/src/com/google/inject/servlet/FilterDefinition.java src/main/java/com/google/inject/servlet/FilterDefinition.java | |
--- /home/java/src/guice-2.0-src/servlet/src/com/google/inject/servlet/FilterDefinition.java 2009-05-19 17:58:14.000000000 -0700 | |
+++ src/main/java/com/google/inject/servlet/FilterDefinition.java 2009-08-20 16:33:29.000000000 -0700 | |
@@ -123,7 +123,7 @@ | |
ServletResponse servletResponse, FilterChainInvocation filterChainInvocation) | |
throws IOException, ServletException { | |
- final String path = ((HttpServletRequest) servletRequest).getServletPath(); | |
+ final String path = ((HttpServletRequest) servletRequest).getRequestURI(); | |
if (shouldFilter(path)) { | |
filter.get() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment