Kaydet (Commit) 657024cd authored tarafından Gregory P. Smith's avatar Gregory P. Smith

Mention issue6972 in extractall docs about overwriting things outside of

the supplied path.
üst 209d4c31
...@@ -207,6 +207,13 @@ ZipFile Objects ...@@ -207,6 +207,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment