[issue6972] zipfile.ZipFile overwrites files outside destination path

Thomas W. Barr report at bugs.python.org
Thu Oct 1 22:13:22 CEST 2009


Thomas W. Barr <twb at rice.edu> added the comment:

Even if we can't fix things for this release, presumably it's not too
late to fix things for 2.7, right?

Yes, there certainly are cases where you might want to have creative
usage of symlinks and stored paths to allow overwriting existing files,
and placing files outside of the extraction path, but that doesn't seem
like the default case to me. Would it be a decent compromise to add a
extract_under_path=True default option to extract() and extractall() for
2.7?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6972>
_______________________________________


More information about the Python-bugs-list mailing list