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] [Reopened] (FELIX-4451) HttpContext#getResource is called with a relative path
Date Sat, 28 Feb 2015 03:06:04 GMT

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

Carsten Ziegeler reopened FELIX-4451:
-------------------------------------
      Assignee: 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.3.4#6332)

Mime
View raw message