mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-09 13:34:58 +00:00
[PR #396] [MERGED] Correctly set IsEncrypted for entries in Rar5. #1004
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/396
Author: @andreas-eriksson
Created: 6/29/2018
Status: ✅ Merged
Merged: 7/9/2018
Merged by: @adamhathcock
Base:
master← Head:Rar5IsEncrypted📝 Commits (2)
f9cc80eCorrectly set IsEncrypted for entries in Rar5.6792afbMerge branch 'master' into Rar5IsEncrypted📊 Changes
1 file changed (+18 additions, -15 deletions)
View changed files
📝
src/SharpCompress/Common/Rar/Headers/FileHeader.cs(+18 -15)📄 Description
This will set IsEncrypted to false unless there is a file encryption header.
IsEncrypted is currently set to HasFlag(FileFlagsV4.PASSWORD) which is the same as HasFlag(FileFlagsV5.HAS_CRC32)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.