tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49914] Filter on url-pattern of "/" is not invoked
Date Tue, 14 Sep 2010 11:09:45 GMT

--- Comment #2 from Wesley <> 2010-09-14 07:09:40 EDT ---
Okay what I'm seeing with a simple application with an index.jsp and a filter.

In o.a.c.c.ApplicationFilterFactory#createFilterChain, requestPath is being set
to request.getAttribute(DISPATCHER_REQUEST_PATH_ATTR); It is this attribute
that is matched against the filter; Which is "/index.jsp" (in my case) rather
than the URI requested by the browser. 

Now I'm not sure if this is correct behaviour or not. I'd need to confirm with
the specs but it sounds wrong.

My test application run against tc6.0.18 didn't match the root node either
however. I haven't run that in debug to see if its the same reason.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message