[weld-issues] [JBoss JIRA] Assigned: (WELD-834) URLScanner can not handle paths containing spaces

Ales Justin (JIRA) jira-events at lists.jboss.org
Fri Jan 21 16:06:49 EST 2011


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

Ales Justin reassigned WELD-834:
--------------------------------

    Assignee: Ales Justin


> URLScanner can not handle paths containing spaces
> -------------------------------------------------
>
>                 Key: WELD-834
>                 URL: https://issues.jboss.org/browse/WELD-834
>             Project: Weld
>          Issue Type: Bug
>          Components: Bootstrap and Metamodel API
>    Affects Versions: 1.1.0.Final
>         Environment: Windows, Jetty 7.2.2
>            Reporter: Štěpán Mík
>            Assignee: Ales Justin
>
> When actual classpath  includes folder that contains spaces, URLScanner throws an exception (java.io.FileNotFoundException). Problem is at line 93 where string holding URL is "converted" to path just by stripping URL scheme prefix. Unfortunately, spaces in URL are expressed either by plus sing or %20 escape sequence, which remains in file path instead of proper URL decoding. For example "file:/C:/with%20space" is converted to "/C:/with%20space" instead of "C:/with space".

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the weld-issues mailing list