mirror of https://github.com/python/cpython
Merged revisions 75149 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r75149 | gregory.p.smith | 2009-09-29 14:56:31 -0700 (Tue, 29 Sep 2009) | 3 lines Mention issue6972 in extractall docs about overwriting things outside of the supplied path. ........
This commit is contained in:
parent
c9d113bf61
commit
61df9e50ce
|
@ -205,6 +205,13 @@ ZipFile Objects
|
||||||
be a subset of the list returned by :meth:`namelist`. *pwd* is the password
|
be a subset of the list returned by :meth:`namelist`. *pwd* is the password
|
||||||
used for encrypted files.
|
used for encrypted files.
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
Never extract archives from untrusted sources without prior inspection.
|
||||||
|
It is possible that files are created outside of *path*, e.g. members
|
||||||
|
that have absolute filenames starting with ``"/"`` or filenames with two
|
||||||
|
dots ``".."``.
|
||||||
|
|
||||||
.. versionadded:: 2.6
|
.. versionadded:: 2.6
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue