[issue6972] zipfile.ZipFile overwrites files outside destination path
Thomas W. Barr
report at bugs.python.org
Wed Sep 30 22:11:37 CEST 2009
Thomas W. Barr <twb at rice.edu> added the comment:
Good point, I'd forgotten that case-sensitive file systems are an
option. I do know that it's not the default, though, and that as shipped
from Apple, at least the consumer machines are case-insensitive. Things
may be different in server-land.
For what it's worth, NTFS isn't entirely case-insensitive, either.
Should the os.path.normcase() method be made smarter, and actually query
the filesystem about such things? (If I should start a new ticket for
this, somebody please let me know.)
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list