dioxus/packages/cli/tests/fixtures
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
..
dangerous.zip fix(cli): allows extracting files without separate directory entries 2023-08-04 21:28:09 -07:00
test.zip fix(cli): allows extracting files without separate directory entries 2023-08-04 21:28:09 -07:00