Carsten Ziegeler created FELIX-4804:
---------------------------------------
Summary: Servlet filters should not run if no servlet/resource is
targetted
Key: FELIX-4804
URL: https://issues.apache.org/jira/browse/FELIX-4804
Project: Felix
Issue Type: Bug
Components: HTTP Service
Affects Versions: http-2.4.0
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: http-next
Right now servlet filters are run simply based on path matching, even if no
servlet or resource is registered for the requested uri.
Although there is no definite answer in the servlet specification, this seems
to contradict establishing a filter chain and once it's established executing
it. In addition, it looks wrong to do filter processing just to send an 404 at
the end. Use cases like authentication etc. make little sense either.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)