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] [Updated] (FELIX-5109) Wrong path matching for http whiteboard service
Date Thu, 19 Nov 2015 14:46:11 GMT

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

Carsten Ziegeler updated FELIX-5109:
    Summary: Wrong path matching for http whiteboard service  (was: Wrong path matching for
http and http whiteboard service)

> 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

View raw message