-
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
SSZipArchive 2.5.5 fails to create zip which can be later converted to docx #693
Comments
I'm having the same problem with creating an Excel file. After many hours of research, I've found that the zip must be: See: ECMA, Office Open XML, Part 2 Open Packaging Conventions, 5th edition, December 2021 The problem is that I can't figure out what options to use to obtain that result. Hopefully, someone can help. |
I've tried a couple of older versions and so far find that a file created using version 2.3.0 works but not in 2.4.0. While there is still an extended local header Excel can read the file after changing zip to xlsx. Also, Numbers can also read the file without any error notification. I'm running the latest version of Xcode and IOS. |
I am reintroducing SSZipArchive in my project as the path traversal related vulnerabilities are been fixed in 2.5.5. I am generating MS Word docx file. 2.2.2 and before version work smooth but with 2.5.5, I think, the directory contents are not picked up and zipped as expected.
v2.3.0 works as expected. The problem starts from v2.4.0. Alas I cannot use v2.3.0 as it is marked vulnerable by Veracode. Only 2.5.4 and 2.5.5 are valid to use.
Steps to reproduce
Expected behavior
Actual behavior
Creates a zip. Rename it to docx. MS Word opens in recovery mode.
Version of ZipArchive
SSZipArchive 2.5.5
Environmental information
docx.zip
The text was updated successfully, but these errors were encountered: