felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-5109) Wrong path matching for http whiteboard service
Date Thu, 19 Nov 2015 17:03:11 GMT

     [ https://issues.apache.org/jira/browse/FELIX-5109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carsten Ziegeler resolved FELIX-5109.
-------------------------------------
    Resolution: Fixed

Fixed the handling in rev 1715214.

For http whiteboard something like /foo is now just an exact match, and /foo/* matches - as
defined in the servlet spec - /foo as well. This also includes that /* now matches all requests

> Wrong path matching for 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.base-3.0.0, http.base-3.0.2, http.jetty-3.1.0, http.jetty-3.1.2
>            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)

Mime
View raw message