-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
About directory backtracking #675
Comments
Why should it be "a/b/c.txt"? The author of the archive can set any path they want under ".", and returning "a/c.txt" is fine and likely the desired behavior. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ZipArchive/SSZipArchive/SSZipArchive.m
Line 1448 in b56f8c6
This line of code still cannot prevent directory backtracking, which should be "a/b/../c.txt" -> "a/b/c.txt"
The text was updated successfully, but these errors were encountered: