[New-bugs-announce] [issue46880] zipfile library doesn't extract windows zip files properly on linux

Nimrod Fiat report at bugs.python.org
Mon Feb 28 07:48:44 EST 2022


New submission from Nimrod Fiat <nimrodf at google.com>:

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"

----------
components: Library (Lib)
messages: 414193
nosy: nimrodf
priority: normal
severity: normal
status: open
title: zipfile library doesn't extract windows zip files properly on linux
type: behavior
versions: Python 3.10, Python 3.11, Python 3.7, Python 3.8, Python 3.9

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


More information about the New-bugs-announce mailing list