[PR #460] [MERGED] fix filename garbling in tar(#414) #1040

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

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/460
Author: @itn3000
Created: 6/27/2019
Status: Merged
Merged: 6/27/2019
Merged by: @adamhathcock

Base: masterHead: tar-fix-garbled2


📝 Commits (5)

  • 9b4b2a9 considering encoding in processing filename(#414)
  • 70392c3 use Buffer.BlockCopy for performance
  • 07c42b8 replace magic number
  • 1ea9ab7 add comment for subtracting
  • 6bfa3c2 add more comments

📊 Changes

6 files changed (+72 additions, -7 deletions)

View changed files

📝 src/SharpCompress/Common/Tar/Headers/TarHeader.cs (+24 -5)
📝 tests/SharpCompress.Test/Tar/TarArchiveTests.cs (+48 -2)
📝 tests/TestArchives/Archives/Tar.mod.tar (+0 -0)
📝 tests/TestArchives/Archives/Tar.noEmptyDirs.tar (+0 -0)
📝 tests/TestArchives/Archives/Tar.noEmptyDirs.tar.bz2 (+0 -0)
📝 tests/TestArchives/Archives/Tar.noEmptyDirs.tar.lz (+0 -0)

📄 Description

No description provided


🔄 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/460 **Author:** [@itn3000](https://github.com/itn3000) **Created:** 6/27/2019 **Status:** ✅ Merged **Merged:** 6/27/2019 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `tar-fix-garbled2` --- ### 📝 Commits (5) - [`9b4b2a9`](https://github.com/adamhathcock/sharpcompress/commit/9b4b2a9f7c2480d4cb473ec94e77bf94d2a3d08b) considering encoding in processing filename(#414) - [`70392c3`](https://github.com/adamhathcock/sharpcompress/commit/70392c32e246681e158b7926535c169cb634ddda) use Buffer.BlockCopy for performance - [`07c42b8`](https://github.com/adamhathcock/sharpcompress/commit/07c42b8725a8c2f6786e467ff2fe67d8528b9066) replace magic number - [`1ea9ab7`](https://github.com/adamhathcock/sharpcompress/commit/1ea9ab72c1c46e2388b023477a2e60e0e679bf6b) add comment for subtracting - [`6bfa3c2`](https://github.com/adamhathcock/sharpcompress/commit/6bfa3c25a49cce52e0e7a08914850c0798e19116) add more comments ### 📊 Changes **6 files changed** (+72 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/Common/Tar/Headers/TarHeader.cs` (+24 -5) 📝 `tests/SharpCompress.Test/Tar/TarArchiveTests.cs` (+48 -2) 📝 `tests/TestArchives/Archives/Tar.mod.tar` (+0 -0) 📝 `tests/TestArchives/Archives/Tar.noEmptyDirs.tar` (+0 -0) 📝 `tests/TestArchives/Archives/Tar.noEmptyDirs.tar.bz2` (+0 -0) 📝 `tests/TestArchives/Archives/Tar.noEmptyDirs.tar.lz` (+0 -0) </details> ### 📄 Description _No description provided_ --- <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:18:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1040