You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2010/10/19 04:58:29 UTC

[jira] Closed: (OPENEJB-1252) URL->File decoding should avoid "+" in paths

     [ https://issues.apache.org/jira/browse/OPENEJB-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Blevins closed OPENEJB-1252.
----------------------------------

    Resolution: Fixed

> URL->File decoding should avoid "+" in paths
> --------------------------------------------
>
>                 Key: OPENEJB-1252
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1252
>             Project: OpenEJB
>          Issue Type: Bug
>    Affects Versions: 3.1.3
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.1.3
>
>         Attachments: OPENEJB-1252.diff
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.