commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "AlesD (JIRA)" <j...@apache.org>
Subject [jira] Created: (CHAIN-43) ChainListener URL translation does not work as expected
Date Sun, 24 Feb 2008 14:45:14 GMT
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.


Mime
View raw message