ChainListener URL translation does not work as expected
-------------------------------------------------------

                 Key: CHAIN-43
                 URL: https://issues.apache.org/jira/browse/CHAIN-43
             Project: Commons Chain
          Issue Type: Bug
    Affects Versions: 1.1, Nightly Builds
            Reporter: AlesD
            Priority: Trivial


Method org.apache.commons.chain.web.ChainListener#translate(String) simply 
discards any spaces in URL instead of replacing them with %20 as stated in it's 
documentation.

As result the configuration form chain-config.xml files stored in JAR files on 
path with spaces is not processed.

BTW: Why not use

jarURL.toExternalForm().replaceAll(" ", "%20")

instead of

translate(jarURL.toExternalForm())

AlesD

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to