mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Issue #6972: keep the warning about untrusted extraction and mention
the version it was improved in.
This commit is contained in:
commit
1d824ec9b3
1 changed files with 5 additions and 1 deletions
|
|
@ -260,8 +260,12 @@ ZipFile Objects
|
|||
be a subset of the list returned by :meth:`namelist`. *pwd* is the password
|
||||
used for encrypted files.
|
||||
|
||||
.. note::
|
||||
.. 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 ``".."``. This module attempts to prevent that.
|
||||
See :meth:`extract` note.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue