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/04/01 13:48:27 UTC

[jira] Updated: (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 updated OPENEJB-1252:
-----------------------------------

    Assignee: David Blevins  (was: David Jencks)
     Summary: URL->File decoding should avoid "+" in paths  (was: Dont use URLDecoder on file paths, it doesn't work)

> 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 Blevins
>             Fix For: 3.1.3
>
>
> 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.