[issue6972] zipfile.ZipFile overwrites files outside destination path
Thomas W. Barr
report at bugs.python.org
Wed Sep 30 21:29:51 CEST 2009
Thomas W. Barr <twb at rice.edu> added the comment:
os.path.realpath() doesn't normalize case, so this could have issues on
Windows. The new patch should not.
The Mac version of os.path.normpath doesn't change the path, as per the
posix version, which isn't correct on HFS+, which is not case sensitive.
That's another bug for another ticket, though.
----------
Added file: http://bugs.python.org/file15009/zipfile-6972-patch-2.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6972>
_______________________________________
More information about the Python-bugs-list
mailing list