-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(handler): improve zip64 detection
We improve the zip64 detection by trying to parse the zip64 early. If the zip file contains a zip64 header, we are sure its a zip64. If it doesn't hold a zip64 header, we are sure its not a zip64 and we fall back to zip32. In order to create the test files, we used this command ``` cat somefile.txt | zip > zip64.zip zip -F zip64.zip --out zip64-without-cd.zip ```
- Loading branch information
1 parent
3d541a4
commit 2ffcb1b
Showing
3 changed files
with
25 additions
and
20 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
tests/integration/archive/zip/zip64/__input__/zip64-without-cd.zip
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
tests/integration/archive/zip/zip64/__output__/zip64-without-cd.zip_extract/-
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters