You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andre Piwoni (JIRA)" <ji...@apache.org> on 2014/01/10 00:53:50 UTC
[jira] [Updated] (CAMEL-7121) Relative dot segment paths not
resolved in org.apache.camel.core.osgi.OsgiClassResolver
[ https://issues.apache.org/jira/browse/CAMEL-7121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andre Piwoni updated CAMEL-7121:
--------------------------------
Description:
org.apache.camel.core.osgi.OsgiClassResolver.loadResourceAsURL(String uri) does normalize a/b/c/../../file path when passed to Bundle.getResource()
per RFC 3986
As a result, path a/file is resolved but not path a/b/c/../../file.
Apache Felix claims it should not normalize this path as stated in
https://issues.apache.org/jira/browse/FELIX-369
This happens in context of relative ../../file path for schema import that is used in validator.
was:
org.apache.camel.core.osgi.OsgiClassResolver.loadResourceAsURL(String uri) does normalize a/b/c/../../file path when passed to Bundle.getResource()
per RFC 3986
As a result, path a/file is resolved but not path a/b/c/../../file.
Apache Felix claims it should not normalize this path as stated in
https://issues.apache.org/jira/browse/FELIX-369
> Relative dot segment paths not resolved in org.apache.camel.core.osgi.OsgiClassResolver
> ---------------------------------------------------------------------------------------
>
> Key: CAMEL-7121
> URL: https://issues.apache.org/jira/browse/CAMEL-7121
> Project: Camel
> Issue Type: Bug
> Components: camel-blueprint
> Affects Versions: 2.12.2
> Environment: Java 7
> Reporter: Andre Piwoni
> Priority: Minor
>
> org.apache.camel.core.osgi.OsgiClassResolver.loadResourceAsURL(String uri) does normalize a/b/c/../../file path when passed to Bundle.getResource()
> per RFC 3986
> As a result, path a/file is resolved but not path a/b/c/../../file.
> Apache Felix claims it should not normalize this path as stated in
> https://issues.apache.org/jira/browse/FELIX-369
> This happens in context of relative ../../file path for schema import that is used in validator.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)