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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.3
    • Component/s: None
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: