Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
seekable zip backend: Accept files with valid ZIP64 EOCD headers
Previously, a ZIP64 file needed to have a valid classic EOCD header. This is not the case at least for archives generated by PHPZipStreamer. This commit allows for a bit more than necessary: While PHPZipStreamer sets the classic EOCD header to all -1's, the bidding function now succeeds also if the EOCD header values have arbitrary values, as long as the ZIP64 EOCD header seems plausible. This simplifies the logic and should not do any harm in practice. This fixes #869.
- Loading branch information
1 parent
429b71b
commit e00a446
Showing
1 changed file
with
19 additions
and
18 deletions.
There are no files selected for viewing
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