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

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Aug 15 03:23:25 EDT 2008


Author: shane.bryzak at jboss.com
Date: 2008-08-15 03:23:25 -0400 (Fri, 15 Aug 2008)
New Revision: 8691

Modified:
   trunk/src/main/org/jboss/seam/web/AbstractFilter.java
Log:
finer-grained path control

Modified: trunk/src/main/org/jboss/seam/web/AbstractFilter.java
===================================================================
--- trunk/src/main/org/jboss/seam/web/AbstractFilter.java	2008-08-15 01:17:43 UTC (rev 8690)
+++ trunk/src/main/org/jboss/seam/web/AbstractFilter.java	2008-08-15 07:23:25 UTC (rev 8691)
@@ -97,7 +97,8 @@
       {
          return true;
       }
-      String path = ((HttpServletRequest) request).getServletPath();      
+            
+      String path = ((HttpServletRequest) request).getRequestURI().replaceFirst(servletContext.getContextPath(), "");      
       String urlPattern = getUrlPattern();
       Pattern regexPattern = getPattern();
       if (urlPattern != null)




More information about the seam-commits mailing list