felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Lenzi <kis...@interfree.it>
Subject A bug in Bundle.getResource(String)?
Date Mon, 17 Sep 2007 20:17:33 GMT
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?



Mime
View raw message