Calling VFS.getManager().resolveFile(...) with a file name that has a space inside fails because S3FileNameParser does a new URI on line 50 which blows up with java.net.URISyntaxException: Illegal character in path at index 46:.
Other VFS providers work fine with such filenames (I guess by encoding the URL or something - you can check LocalFileNameParser for example) so the problem is in vfs-s3.
Calling
VFS.getManager().resolveFile(...)
with a file name that has a space inside fails becauseS3FileNameParser
does anew URI
on line 50 which blows up withjava.net.URISyntaxException: Illegal character in path at index 46:
.Other VFS providers work fine with such filenames (I guess by encoding the URL or something - you can check
LocalFileNameParser
for example) so the problem is invfs-s3
.