[Python-checkins] r88795 - in sandbox/branches/setuptools-0.6: EasyInstall.txt setuptools/archive_util.py (original) (raw)

phillip.eby python-checkins at python.org
Wed Mar 23 22:09:16 CET 2011


Author: phillip.eby Date: Wed Mar 23 22:09:16 2011 New Revision: 88795

Log: Fixed skipping extraction of files or directories containing '..' in their names.

Modified: sandbox/branches/setuptools-0.6/EasyInstall.txt sandbox/branches/setuptools-0.6/setuptools/archive_util.py

Modified: sandbox/branches/setuptools-0.6/EasyInstall.txt

--- sandbox/branches/setuptools-0.6/EasyInstall.txt (original) +++ sandbox/branches/setuptools-0.6/EasyInstall.txt Wed Mar 23 22:09:16 2011 @@ -1235,6 +1235,12 @@

Modified: sandbox/branches/setuptools-0.6/setuptools/archive_util.py

--- sandbox/branches/setuptools-0.6/setuptools/archive_util.py (original) +++ sandbox/branches/setuptools-0.6/setuptools/archive_util.py Wed Mar 23 22:09:16 2011 @@ -138,7 +138,7 @@ name = info.filename

         # don't extract absolute paths or ones with .. in them

@@ -180,7 +180,7 @@ for member in tarobj: name = member.name # don't extract absolute paths or ones with .. in them



More information about the Python-checkins mailing list