tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49914] Filter on url-pattern of "/" is not invoked
Date Tue, 14 Sep 2010 11:09:45 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49914

--- Comment #2 from Wesley <wesley.acheson@gmail.com> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message