Skip to content
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

ZZArchiveEntry archiveEntryWithDirectoryName: Does Not Create Valid Entry #158

Open
levigroker opened this issue Jan 24, 2017 · 0 comments

Comments

@levigroker
Copy link

Hello,

If I create a directory entry using [ZZArchiveEntry archiveEntryWithDirectoryName:name] where name does not end with a \ (slash) the resulting archive is invalid and attempting to decompress results in an error:

checkdir error: <directory name> exists but is not directory

It would seem archiveEntryWithDirectoryName: should sanitize the given name to include a trailing slash if that is indeed required for the archive to be valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant