Author Vhati
Recipients Vhati, ezio.melotti
Date 2013-04-08.04:40:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365396049.75.0.123747713092.issue17656@psf.upfronthosting.co.za>
In-reply-to
Content
Oops, passing a unicode literal to extract()'s member arg wouldn't be sufficient.

The extract() method quietly converts strings to ZipInfo objects via getinfo(member_string). Then _extract_member() takes the filename attribute of that ZipInfo object, which causes problems when when THAT is unicode.

So I guess this bug only applies to archives with unicode member paths.

Attached is one such file to aid in troubleshooting.
History
Date User Action Args
2013-04-08 04:40:49Vhatisetrecipients: + Vhati, ezio.melotti
2013-04-08 04:40:49Vhatisetmessageid: <1365396049.75.0.123747713092.issue17656@psf.upfronthosting.co.za>
2013-04-08 04:40:49Vhatilinkissue17656 messages
2013-04-08 04:40:49Vhaticreate