Commit graph

2 commits

Author SHA1 Message Date
Brian Donovan
03e02591ec
fix(cli): allows extracting files without separate directory entries
Some zip files do not list directories separately from files. For example, a zip might contain `dir/file.txt` without a corresponding entry for just `dir/`. This should be okay, so we just create the leading paths for the files we extract as necessary.

Also adds tests for the expected and dangerous path cases of `extract_zip`.
2023-08-04 21:28:09 -07:00
Jonathan Kelley
a9d7b4d32a Prepare CLI for move into mainline 2023-06-28 17:21:23 -07:00