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:43 UTC
[jira] [Created] (FELIX-4451) HttpContext#getResource is called
with a relative path
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)