You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/11/19 11:53:11 UTC
[jira] [Created] (FELIX-5109) Wrong path matching for http and http
whiteboard service
Carsten Ziegeler created FELIX-5109:
---------------------------------------
Summary: Wrong path matching for http and http whiteboard service
Key: FELIX-5109
URL: https://issues.apache.org/jira/browse/FELIX-5109
Project: Felix
Issue Type: Bug
Components: HTTP Service
Affects Versions: http.jetty-3.1.2, http.jetty-3.1.0, http.base-3.0.2, http.base-3.0.0
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: http.base-3.0.4, http.jetty-3.1.4
It seems we have some bugs in the path matching which result from different handling between the http service and the servlet spec.
For the http service, an alias like "/foo" matches "/foo" and "/foo/*" - while for the servlet spec "/foo" only matches "/foo" - exact match.
Right now, in both cases "/foo/*" matches.
For the servlet spec a pattern like "/foo/*" matches "/foo/something" but also "/foo". Right now we don't handle the second case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)