RSS issue - 1/1 Blog

issue - 1/1

Issue in ZipFile on Windows


Issue 6839 happens when a zip file is created on Windows. The created zip may contain full path with \\ when the file list only contains /. This raises exception BadZipFile with the following message: File name in directory … and header … differ due to a mismatch between backslashes. Another consequence found on GitHub: zipfile raises: File name in directory X and header Y differ.. The class WinZipFile owerwrites method to fix the line which checks that names are consistent in the file list and in the compressed content.


RSS issue - 1/1 2018-05 (1) 2018-08 (1) 2019-03 (2) 2019-07 (1) 2019-11 (1)