mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-02-07 13:54:37 +00:00
[PR #47] [MERGED] Explicitly handle password-protected archives rather than repeatedly throwing exceptions #75
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/SabreTools/SabreTools.Serialization/pull/47
Author: @HeroponRikiBestest
Created: 12/1/2025
Status: ✅ Merged
Merged: 12/2/2025
Merged by: @mnadareski
Base:
main← Head:handle-password-protection📝 Commits (4)
a06825bExplicitly handle password-protected archives rather than repeatedly throwing exceptionsfe6eff2Fix logic errore939ee8Continues7d3cbcaRemove bool📊 Changes
3 files changed (+56 additions, -6 deletions)
View changed files
📝
SabreTools.Serialization/Wrappers/PKZIP.Extraction.cs(+8 -0)📝
SabreTools.Serialization/Wrappers/RAR.Extraction.cs(+24 -3)📝
SabreTools.Serialization/Wrappers/SevenZip.Extraction.cs(+24 -3)📄 Description
At the moment, if running with debug enabled, if you attempt to use ExtractionTool (or BOS) on password-protected archives, it will repeatedly throw exceptions. This PR explicitly handles password-protected files/archives, both providing more accurate output (7z and rar would otherwise not output the actual issue at all) and also making the debug logs much cleaner.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.