mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-11 13:35:00 +00:00
[PR #55] [MERGED] Added read support for RARs with Protect Headers #815
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/55
Author: @benshoof
Created: 5/8/2015
Status: ✅ Merged
Merged: 5/8/2015
Merged by: @adamhathcock
Base:
master← Head:rar_protect_header📝 Commits (1)
ae1e37cAdded read support for RARs with Protect Headers📊 Changes
7 files changed (+54 additions, -0 deletions)
View changed files
➕
SharpCompress/Common/Rar/Headers/ProtectHeader.cs(+22 -0)📝
SharpCompress/Common/Rar/Headers/RarHeaderFactory.cs(+27 -0)📝
SharpCompress/SharpCompress.NET2.csproj(+1 -0)📝
SharpCompress/SharpCompress.Portable.csproj(+1 -0)📝
SharpCompress/SharpCompress.PortableTest.csproj(+1 -0)📝
SharpCompress/SharpCompress.WindowsStore.csproj(+1 -0)📝
SharpCompress/SharpCompress.csproj(+1 -0)📄 Description
Some RARs with recovery records contain Protect Headers, I've added
support for parsing them so that RARs containing them can be read,
instead of an invalid-header exception being thrown. Parsing logic taken
from unrar reference source.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.