git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] camel pull request #2456: CAMEL-12713 - XsltUriResolver fix: relative import...


GitHub user pvdbosch opened a pull request:

    https://github.com/apache/camel/pull/2456

    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:

    https://github.com/apache/camel/pull/2456.patch

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
    
----
commit 4b957bd345a38a4cadd9e492b0ea7a9325c2a551
Author: pvdbosch <peter.vandenbosch@...>
Date:   2018-08-06T15:58:56Z

    CAMEL-12713 - XsltUriResolver fix: relative paths can remove scheme from XSLT URI

----


---



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-camel-development/msg04549.html on line 105
Call Stack
#TimeMemoryFunctionLocation
10.0006364632{main}( ).../msg04549.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-camel-development/msg04549.html on line 105
Call Stack
#TimeMemoryFunctionLocation
10.0006364632{main}( ).../msg04549.html:0