[ 
http://issues.ops4j.org/browse/BASE-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13342#action_13342
 ] 

Xavier Fournet commented on BASE-20:
------------------------------------

Commited in r16857

> org.ops4j.io.DirectoryLister#list can return invalid URL
> --------------------------------------------------------
>
>                 Key: BASE-20
>                 URL: http://issues.ops4j.org/browse/BASE-20
>             Project: Base
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Xavier Fournet
>            Assignee: Alin Dreghiciu
>            Priority: Critical
>
> This method use java.io.File#toURL  (fileToAdd.toURL() at line 104) which is 
> deprecated because it doesn't escape illegal character in URL (ie space 
> character).
> When used with pax-runner and assembly protocol it fail if the assembly 
> directory contains files with space character in their file name.
> Fixed by using fileToAdd.toURI().toURL() instead of fileToAdd.toURL()

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

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to