Message281212
If the output file is not seekable, zipfile sets bit 3 in file header flags and writes 12 or 20 (if ZIP64 extension is used) additional bytes after the compressed data. These bytes contain the CRC, compressed and uncompressed sizes. Corresponding fields in local file header are set to zero.
In case of writestr() this can be considered as a regression, since the CRC and sizes can be calculated before writing compressed data and saved in local file header.
But it would be not easy to fix this. |
|
Date |
User |
Action |
Args |
2016-11-19 09:14:23 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, X-Istence |
2016-11-19 09:14:23 | serhiy.storchaka | set | messageid: <1479546863.16.0.815796771323.issue28719@psf.upfronthosting.co.za> |
2016-11-19 09:14:23 | serhiy.storchaka | link | issue28719 messages |
2016-11-19 09:14:22 | serhiy.storchaka | create | |
|