Lijun Wu created VFS-664:
----------------------------
Summary: ZipFileObject can't list children file with exclamation
mark in name.
Key: VFS-664
URL: https://issues.apache.org/jira/browse/VFS-664
Project: Commons VFS
Issue Type: Bug
Affects Versions: 2.2
Reporter: Lijun Wu
if zip file contains exclamation mark, ZipFileObject#getChildren() doesn't
contain that file.
Example:
{code:java}
StandardFileSystemManager sfm = new StandardFileSystemManager();
sfm.init();
FileObject fileObject =
sfm.resolveFile("zip:zip-with-file-contains-exclamation.zip");
FileObject[] children = fileObject.getChildren();
if (children != null) {
for (int i = 0; i < children.length; i++) {
System.out.println(children[i].getName().toString());
}
}
{code}
if zip-with-file-contains-exclamation.zip contains files "00", "0!1", "02",
this code will output "00" and "02" without "0!1"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)