-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correctly support filenames with special characters #7
Comments
Couldn't reproduce this issue anymore. Closing this for now. |
The official xar tool produces invalid XML for the ToC: It does not escape chars like It seems that 7-Zip has problems with this. Creating an archive using xar for Java with the following files
leads to the following file listing for the created archive:
While the official xar implementation (presumably using I consider this rather a bug in 7-Zip than in xar for Java, although xar (official) behaves somehow buggy, too, when not creating valid XML... The currently used XML implementation doesn't allow disabling escaping, thus this won't be fixed in the near future. Leaving this open for reference, though... |
Currently, it seems that filenames like
Alex' file.txt
get encoded toAlex' file.txt
in the TOC.xml when creating an xar file. When extracting the archive, this encoded filename gets used as final filename (thus creating a file calledAlex' file.txt
), because there is no decoding happening. This should be investigated more and fixed.The text was updated successfully, but these errors were encountered: