mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Incorrect extraction of empty directory compressed with System.IO.Compression
#90
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?
Originally created by @zentron on GitHub (Mar 3, 2016).
When creating an zip file using the following standard powershell
An empty folder has its file name encoded with a trailing
\.Although
ZipFileEntry.cscorrectly checks for trailing/, it doesn't consider this scenario.Digging through the 7zip code, it seems they are also aware of this problem and have explicitly coded around it, noting in their comments that
@zentron commented on GitHub (Mar 3, 2016):
Above PR supports these zip archives
@adamhathcock commented on GitHub (Mar 3, 2016):
Any chance for a Pull request? Thanks!
@zentron commented on GitHub (Mar 3, 2016):
sorry :) .. try check again.
@adamhathcock commented on GitHub (Mar 3, 2016):
Thanks!