[ 
https://issues.apache.org/jira/browse/VFS-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675153#action_12675153
 ] 

Sergey Vladimirov commented on VFS-203:
---------------------------------------

+1 for this bug. It affects FileName -> URI conversion as in this scenario:


FileObject fo = VFS.getManager().resolveFile("tmp://some file.txt");
new URI(fo.getName.toURI())
 - throws URISyntaxException because of illegal char " "


Let me know if you want patch for it. Kinda tired of sending patches without 
any response.
(And as a novice i can't even ask for committer access... sigh... )

> FileObject..getName().getURI() returns URIs with spaces
> -------------------------------------------------------
>
>                 Key: VFS-203
>                 URL: https://issues.apache.org/jira/browse/VFS-203
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Tim Lebedkov
>
> Windows supports file names with spaces and '#'. AFAIK spaces are not allowed 
> in URIs and # will be interpreted as an URI fragment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to