Closed
Description
Steps to reproduce
- Create an output Tar Archive
- Set the root path to an empty string (this happens when our code receives a relative path, so
rootPath = GetDirectoryName(targetFile)
). - Call CreateFileFromEntry using the filename targetFile - the tarEntry has the correct name property.
- Call WriteEntry.
- Check the generated output - the filename in the generated archive is missing the leading character.
Expected behavior
The filename in the archive should be the same as what is written.
Actual behavior
The filename in the archive is missing the leading character.
Version of SharpZipLib
1.1.0
Obtained from (only keep the relevant lines)
- Package installed using NuGet
Metadata
Metadata
Assignees
Labels
No labels