I am not convinced we want to support this. Is this standard class
loader behavior?
i.e., would URLClassLoader.getResource() support that syntax?
-> richard
Stefano Lenzi wrote:
Hi All,
I've found a odd behavior in the method Bundle.getResource(String),
the method is not able to resolve the resource if the reource path
contains: '.' or '..' directory.
I have already patched the:
org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getResource(String)
in order to accept the '..' and '.' path (see attchment).
Can I commit the patch?
Ciao,
Stefano "Kismet" Lenzi
P.S.: As you can see from my patch I do not consider the case when the
URL is encoded.
P.P.S.: Should I report a issue on JIRA?