You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tar truncates the first character of filename when using CreateEntryFromFile #334
Activity
Numpsy commentedon Apr 10, 2019
I haven't tested it, but maybe the check @
SharpZipLib/src/ICSharpCode.SharpZipLib/Tar/TarArchive.cs
Line 787 in afcccb0
should be checking if rootPath is empty rather than just null?
Fix issue icsharpcode#334 from icsharpcode/SharpZipLib
iUnknwn commentedon Apr 10, 2019
Yep - that seems like the problem. I just did a quick test, and switching that for String.IsNullOrEmpty seemed to fix the problem.
I opened a pull request with with the small change.
Merge PR icsharpcode#336: Treat empty string as no RootPath in TarArc…