[weld-issues] [JBoss JIRA] (WELD-1028) CLONE - URLScanner can not handle paths containing spaces

Marko Lukša (JIRA) jira-events at lists.jboss.org
Tue Feb 28 04:10:38 EST 2012


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

Marko Lukša resolved WELD-1028.
-------------------------------

    Fix Version/s: 1.2.0.Beta1
       Resolution: Done


I think this is now fixed. See my comment on WELD-954.
                
> CLONE - URLScanner can not handle paths containing spaces
> ---------------------------------------------------------
>
>                 Key: WELD-1028
>                 URL: https://issues.jboss.org/browse/WELD-1028
>             Project: Weld
>          Issue Type: Bug
>          Components: Bootstrap and Metamodel API
>    Affects Versions: 1.1.4.Final
>         Environment: Windows 7 , Tomcat 7.0.23
>            Reporter: Manuel Hartl
>            Assignee: Marko Lukša
>             Fix For: 1.2.0.Beta1
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the weld-issues mailing list