[issue2824] zipfile to handle duplicate files in archive

Jerry Heiselman report at bugs.python.org
Wed Jan 27 14:03:47 EST 2021


Jerry Heiselman <jerry at heiselman.com> added the comment:

Further, some tools like zipgrep, seem to iterate over the toc in the zipfile and end up running the grep part once per entry leading to some duplication of data returned without it being obvious that there wasn't actually duplicate data in the zip archive.

Interestingly, the zipfile module does not expose the duplicate toc entries using 'python -m zipfile -l <file.zip>', so it's hiding the issue itself.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue2824>
_______________________________________


More information about the Python-bugs-list mailing list