[GitHub] camel pull request #2456: CAMEL-12713 - XsltUriResolver fix: relative import...
GitHub user pvdbosch opened a pull request:
CAMEL-12713 - XsltUriResolver fix: relative imports can ignore URI scheme
fix for CAMEL-12713
FileUtil.compactPath() is used to calculate the relative URI, but this call ignores the colon separator and considers "classpath:directory" as a single path part.
This patch passes the URI without its scheme to FileUtil.compactPath() and attaches it again to the result.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kszbcss/camel xslt-resolver-fix
Alternatively you can review and apply these changes as the patch at:
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2456
Author: pvdbosch <peter.vandenbosch@...>
CAMEL-12713 - XsltUriResolver fix: relative paths can remove scheme from XSLT URI