mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-08 13:34:57 +00:00
[PR #596] [MERGED] Conditionally parse Zip64 extra field based on specification #1118
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/596
Author: @DannyBoyk
Created: 4/26/2021
Status: ✅ Merged
Merged: 6/4/2021
Merged by: @adamhathcock
Base:
master← Head:issue_595_conditionally_read_zip64_extra📝 Commits (1)
fdc33e9Conditionally parse Zip64 extra field based on specification📊 Changes
6 files changed (+69 additions, -19 deletions)
View changed files
📝
src/SharpCompress/Common/Zip/Headers/DirectoryEntryHeader.cs(+2 -0)📝
src/SharpCompress/Common/Zip/Headers/LocalEntryHeader.cs(+2 -0)📝
src/SharpCompress/Common/Zip/Headers/LocalEntryHeaderExtraFactory.cs(+46 -18)📝
src/SharpCompress/Common/Zip/Headers/ZipFileEntry.cs(+1 -1)📝
tests/SharpCompress.Test/Zip/ZipArchiveTests.cs(+18 -0)➕
tests/TestArchives/Archives/Zip.zip64.compressedonly.zip(+0 -0)📄 Description
The Zip64 extra field should look for values based on the corresponding
values in the local entry header.
Fixes adamhathcock/sharpcompress#595
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.