[
https://issues.apache.org/jira/browse/FELIX-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefano Lenzi updated FELIX-369:
--------------------------------
Attachment: resource.loading.patch
I've attached a patch which fix the problem for loading resources with
Bundle.getResource(String).
The patch is tested and working for loading resource from the non-system bundle
method.
> Bundle.getResource(String) do not handle path with '.' or '..'
> --------------------------------------------------------------
>
> Key: FELIX-369
> URL: https://issues.apache.org/jira/browse/FELIX-369
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: 1.0.0
> Environment: the bug affect both felix-1.0.0 and
> felix-1.0.0-SNAPSHOT-r576472
> Reporter: Stefano Lenzi
> Attachments: resource.loading.patch
>
>
> The Bundle.getResource(String path) does not handle correctly the loading of
> resource if the path contains "." or ".." directory.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.