[
https://issues.apache.org/jira/browse/VFS-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Legner updated VFS-203:
-----------------------------
Attachment: VFD-203-v2.patch
Since VFS-325, the original patch does not work.
The patch VFD-203-v2.patch makes the test case pass and also addresses:
* overriding {{AbstractFileName#createURI(boolean, boolean)}} seems simpler
instead of performing the manipulation on every `getURI`/`getFriendlyURI`
* the comment "? is a reserved filesystem character for Windows and Unix, so
can't be part of a filename" is incorrect for Unix – not sure whether that miss
causes any bugs …
> 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
> Attachments: VFD-203-v2.patch, patch.txt
>
>
> Windows supports file names with spaces and '#'. AFAIK spaces are not allowed
> in URIs and # will be interpreted as an URI fragment.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)