[jboss-jira] [JBoss JIRA] Closed: (JBCOMMON-60) file URI and URLs not properly handled in property editors

Adrian Brock (JIRA) jira-events at lists.jboss.org
Wed Jul 23 13:10:16 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBCOMMON-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Brock closed JBCOMMON-60.
--------------------------------

    Resolution: Done


> file URI and URLs not properly handled in property editors
> ----------------------------------------------------------
>
>                 Key: JBCOMMON-60
>                 URL: https://jira.jboss.org/jira/browse/JBCOMMON-60
>             Project: JBoss Common
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: common-core (2.x)
>    Affects Versions: 2.2.7.GA
>            Reporter: Adrian Brock
>            Assignee: Adrian Brock
>             Fix For: 2.2.8.GA
>
>
> If you use property editors to inject file urls they are not properly handled in terms of encoding.
> e.g.
> file:/some/path%20withspaces
> gets translated into
> file:/some/path%25%20withspaces
> by the Strings.toURI/URL methods
> when it is trying to turn them into absolute paths.
> The String passed into makeURL/URIFromFileSpec
> needs to be decoded before it is turned into a file and later converted back to a URL/URI

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list