This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: zipfile library doesn't extract windows zip files properly on linux
Type: behavior Stage:
Components: Library (Lib) Versions: Python 3.11, Python 3.10, Python 3.9, Python 3.8, Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: nimrodf, push-f
Priority: normal Keywords:

Created on 2022-02-28 12:48 by nimrodf, last changed 2022-04-11 14:59 by admin.

Messages (2)
msg414193 - (view) Author: Nimrod Fiat (nimrodf) Date: 2022-02-28 12:48
Created a zip file using Powershell's Compress-Archive method. 
Moved the file to Debian. 
Used zipfile's extractall method to extract. 
The result was a flat directory with long file names such as:
"migrated-image952821\\m4a\\runiis.ps". 
I would expect instead for a "migrated-image952821" directory to be created, containing an "m4a" directory which contains "runiis.ps"
msg414211 - (view) Author: Martin Fischer (push-f) * Date: 2022-02-28 17:38
Can you attach such a .zip file so that others can reproduce the bug?
History
Date User Action Args
2022-04-11 14:59:56adminsetgithub: 91036
2022-02-28 17:38:55push-fsetnosy: + push-f
messages: + msg414211
2022-02-28 12:48:44nimrodfcreate