Carsten Ziegeler created FELIX-4451:
---------------------------------------

             Summary: 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)

Reply via email to