Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
1.1, Nightly Builds
-
None
-
None
Description
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