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 2014/03/09 11:55:44 UTC

[jira] [Work started] (FELIX-4451) HttpContext#getResource is called with a relative path

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

Work on FELIX-4451 started by Carsten Ziegeler.

> HttpContext#getResource is called with a relative path
> ------------------------------------------------------
>
>                 Key: FELIX-4451
>                 URL: https://issues.apache.org/jira/browse/FELIX-4451
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http-2.3.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: http-2.3.0
>
>
> When a resource is registered through the HttpService with an HttpContext, the getResource() method is called with a relative path, stripping off the leading slash, e.g.
> httpService.registerResources("/foo", "/foo", myContext)
> If /foo/a is requested myContext.getResource("foo/a") is called.
> The leading slash should not be removed



--
This message was sent by Atlassian JIRA
(v6.2#6252)