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

J.W. Janssen resolved FELIX-3048.
---------------------------------

    Resolution: Duplicate

Closing this issue in favour of FELIX-2386.
                
> HttpContext getResource(name) called without preceeding slash
> -------------------------------------------------------------
>
>                 Key: FELIX-3048
>                 URL: https://issues.apache.org/jira/browse/FELIX-3048
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http-2.2.0
>            Reporter: Bram de Kruijff
>
> ServletContextImpl#normalizePath explicitly strips the preceeding slash from 
> a resource request before calling HttpContext#getResource. This behavior is 
> different from the Pax Web implementation. Not sure that the HttpContext 
> specification is conclusive, but at least this is inconsistent with 
> ServletContext#getResource that states: "Returns a URL to the resource that 
> is mapped to a specified path. The path must begin with a "/" and is 
> interpreted as relative to the current context root."
> Originally reported under As reported under 
> https://issues.apache.org/jira/browse/ACE-156

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to