Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1252

URL->File decoding should avoid "+" in paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.3
    • 3.1.3
    • None
    • None

    Description

      URLS tries to use URLDecoder on a file path. This converts the "+" characters mac os x likes to put in temp file names into " " (space) which causes disasters. The javadoc says its not for paths, just form content encoded in a url.

      Use URI.create instead.

      Attachments

        1. OPENEJB-1252.diff
          29 kB
          David Jencks

        Issue Links

          Activity

            People

              djencks David Jencks
              djencks David Jencks
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: