[PR #859] [MERGED] Fix #858 - Replaces invalid filename characters #1290

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

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/859
Author: @DineshSolanki
Created: 7/25/2024
Status: Merged
Merged: 7/30/2024
Merged by: @adamhathcock

Base: masterHead: #858-fix-invalid-character-in-filename


📝 Commits (1)

  • 2d10df8 Fix #858 - Replaces invalid filename characters

📊 Changes

2 files changed (+15 additions, -0 deletions)

View changed files

📝 src/SharpCompress/Common/ExtractionMethods.cs (+1 -0)
📝 src/SharpCompress/Utility.cs (+14 -0)

📄 Description

Add a method to replace invalid characters in file names with underscores during file extraction. This prevents errors related to invalid file names.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/859 **Author:** [@DineshSolanki](https://github.com/DineshSolanki) **Created:** 7/25/2024 **Status:** ✅ Merged **Merged:** 7/30/2024 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `#858-fix-invalid-character-in-filename` --- ### 📝 Commits (1) - [`2d10df8`](https://github.com/adamhathcock/sharpcompress/commit/2d10df8b87540cab47c4644df10769074b7a5584) Fix #858 - Replaces invalid filename characters ### 📊 Changes **2 files changed** (+15 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/Common/ExtractionMethods.cs` (+1 -0) 📝 `src/SharpCompress/Utility.cs` (+14 -0) </details> ### 📄 Description Add a method to replace invalid characters in file names with underscores during file extraction. This prevents errors related to invalid file names. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:19:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1290