Uploaded image for project: 'Commons Chain'
  1. Commons Chain
  2. CHAIN-43

ChainListener URL translation does not work as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.1, Nightly Builds
    • 1.2
    • 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

      Attachments

        Activity

          People

            niallp Niall Pemberton
            alesd Ales Dolecek
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: