Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | backend: Handle corrupt zip files | Wolfgang Müller | 12 days | -0/+0 |
Corrupt zip files would already make hircine throw an error, but depending on the exact problem it would not report which file (or even which entry in a zip file) is affected. Use ZipFile.testzip() to catch common problems and make sure to re-raise any exception within as a BadZipFile exception. This makes sure to also report decompression problems that are raised as a zlib.error exception, for example. |