[PR #55] Added read support for RARs with Protect Headers #819

Closed
opened 2026-01-29 22:17:43 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/55

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/adamhathcock/sharpcompress/pull/55 **State:** closed **Merged:** Yes --- 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.
claunia added the pull-request label 2026-01-29 22:17:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#819