[seam-commits] Seam SVN: r8693 - trunk/src/main/org/jboss/seam/web.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Aug 15 04:33:29 EDT 2008


Author: christian.bauer at jboss.com
Date: 2008-08-15 04:33:28 -0400 (Fri, 15 Aug 2008)
New Revision: 8693

Modified:
   trunk/src/main/org/jboss/seam/web/AbstractFilter.java
Log:
Arrgh

Modified: trunk/src/main/org/jboss/seam/web/AbstractFilter.java
===================================================================
--- trunk/src/main/org/jboss/seam/web/AbstractFilter.java	2008-08-15 08:04:58 UTC (rev 8692)
+++ trunk/src/main/org/jboss/seam/web/AbstractFilter.java	2008-08-15 08:33:28 UTC (rev 8693)
@@ -99,7 +99,7 @@
       }
 
       HttpServletRequest httpRequest = (HttpServletRequest)request;
-      String path = httpRequest.getRequestURI().replaceFirst(httpRequest.getServletPath(), "");      
+      String path = httpRequest.getRequestURI().replaceFirst(httpRequest.getContextPath(), "");      
       String urlPattern = getUrlPattern();
       Pattern regexPattern = getPattern();
       if (urlPattern != null)




More information about the seam-commits mailing list