-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I get zip files from external services, and from time to time, there are duplicate filenames within an archive. I naively use this code to access the archive, and I only get partial content of the archive with it.
for file_number in 0..archive.len() {
let mut zip_file = archive.by_index(file_number)?;
let mut buf = Vec::new()
zip_file.read_to_end(&mut buf)?;
// stuff
}
To Reproduce
You can use this file test.zip
It does not seem to be possible to access all files in the archive.
Expected behavior
Accessing all the files from the archive.
Desktop (please complete the following information):
- Version 7.0.0 of zip
Its-Just-Nans
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working