René's URL Explorer Experiment


Title: PEP 706 – Filter for tarfile.extractall | peps.python.org

Open Graph Title: PEP 706 – Filter for tarfile.extractall | peps.python.org

Description: The extraction methods in tarfile gain a filter argument, which allows rejecting files or modifying metadata as the archive is extracted. Three built-in named filters are provided, aimed at limiting features that might be surprising or dangerous. These ...

Open Graph Description: The extraction methods in tarfile gain a filter argument, which allows rejecting files or modifying metadata as the archive is extracted. Three built-in named filters are provided, aimed at limiting features that might be surprising or dangerous. These ...

Opengraph URL: https://peps.python.org/pep-0706/

direct link

Domain: peps.python.org

color-schemelight dark
og:typewebsite
og:site_namePython Enhancement Proposals (PEPs)
og:imagehttps://peps.python.org/_static/og-image.png
og:image:altPython PEPs
og:image:width200
og:image:height200
theme-color#3776ab

Links:

Pythonhttps://www.python.org/
PEP Indexhttps://peps.python.org/pep-0000/
Discourse threadhttps://discuss.python.org/t/23903
25-Jan-2023https://discuss.python.org/t/23149
15-Feb-2023https://discuss.python.org/t/23903
Discourse messagehttps://discuss.python.org/t/23903/10
Abstracthttps://peps.python.org/706#abstract
Motivationhttps://peps.python.org/706#motivation
Rationalehttps://peps.python.org/706#rationale
Setting a precedenthttps://peps.python.org/706#setting-a-precedent
Full disclosure & redistributor infohttps://peps.python.org/706#full-disclosure-redistributor-info
Specificationhttps://peps.python.org/706#specification
Modifying and forgetting member metadatahttps://peps.python.org/706#modifying-and-forgetting-member-metadata
Filtershttps://peps.python.org/706#filters
Defaults and their configurationhttps://peps.python.org/706#defaults-and-their-configuration
FilterErrorhttps://peps.python.org/706#filtererror
Errorlevel, and fatal/non-fatal errorshttps://peps.python.org/706#errorlevel-and-fatal-non-fatal-errors
Hints for further verificationhttps://peps.python.org/706#hints-for-further-verification
TarInfo identity, and offsethttps://peps.python.org/706#tarinfo-identity-and-offset
tarfile CLIhttps://peps.python.org/706#tarfile-cli
Other archive librarieshttps://peps.python.org/706#other-archive-libraries
Shutilhttps://peps.python.org/706#shutil
Complex filtershttps://peps.python.org/706#complex-filters
Backwards Compatibilityhttps://peps.python.org/706#backwards-compatibility
Backporting & Forward Compatibilityhttps://peps.python.org/706#backporting-forward-compatibility
Security Implicationshttps://peps.python.org/706#security-implications
How to Teach Thishttps://peps.python.org/706#how-to-teach-this
Reference Implementationhttps://peps.python.org/706#reference-implementation
Rejected Ideashttps://peps.python.org/706#rejected-ideas
SafeTarFilehttps://peps.python.org/706#safetarfile
Add absolute_path option to tarfilehttps://peps.python.org/706#add-absolute-path-option-to-tarfile
Other names for the 'tar' filterhttps://peps.python.org/706#other-names-for-the-tar-filter
Possible Further Workhttps://peps.python.org/706#possible-further-work
Adding filters to zipfile and shutil.unpack_archivehttps://peps.python.org/706#adding-filters-to-zipfile-and-shutil-unpack-archive
Thankshttps://peps.python.org/706#thanks
Copyrighthttps://peps.python.org/706#copyright
tarfile documentationhttps://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter
PEP 1https://peps.python.org/pep-0001/
Abstracthttps://peps.python.org/706#abstract
tarfilehttps://docs.python.org/3.11/library/tarfile.html#module-tarfile
Motivationhttps://peps.python.org/706#motivation
tarfile.TarFile.extractall()https://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile.extractall
CVE-2007-4559https://nvd.nist.gov/vuln/detail/CVE-2007-4559
tarfilehttps://docs.python.org/3.11/library/tarfile.html#module-tarfile
shutil.unpack_archive()https://docs.python.org/3.11/library/shutil.html#shutil.unpack_archive
Rationalehttps://peps.python.org/706#rationale
TarFile.extractallhttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile.extractall
shutil.unpack_archive()https://docs.python.org/3.11/library/shutil.html#shutil.unpack_archive
TarFile.getmembershttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile.getmembers
TarInfohttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarInfo
requires a seekable archivehttps://github.com/python/cpython/issues/45385#issuecomment-1255615199
dataclasses.replace()https://docs.python.org/3.11/library/dataclasses.html#dataclasses.replace
namedtuple._replacehttps://docs.python.org/3.11/library/collections.html#collections.somenamedtuple._replace
TarFile.addhttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile.add
Setting a precedenthttps://peps.python.org/706#setting-a-precedent
zipfilehttps://docs.python.org/3.11/library/zipfile.html#module-zipfile
TarInfohttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarInfo
shutil.unpack_archive()https://docs.python.org/3.11/library/shutil.html#shutil.unpack_archive
Full disclosure & redistributor infohttps://peps.python.org/706#full-disclosure-redistributor-info
Specificationhttps://peps.python.org/706#specification
Modifying and forgetting member metadatahttps://peps.python.org/706#modifying-and-forgetting-member-metadata
TarInfohttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarInfo
TarFile.getmembershttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile.getmembers
Filtershttps://peps.python.org/706#filters
TarFile.extracthttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile.extract
TarFile.extractallhttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile.extractall
S_IWGRP|S_IWOTHhttps://docs.python.org/3.11/library/stat.html#stat.S_IWGRP
S_IRUSR|S_IWUSRhttps://docs.python.org/3.11/library/stat.html#stat.S_IRUSR
S_IXGRP|S_IXOTHhttps://docs.python.org/3.11/library/stat.html#stat.S_IXGRP
S_IXUSRhttps://docs.python.org/3.11/library/stat.html#stat.S_IXUSR
Defaults and their configurationhttps://peps.python.org/706#defaults-and-their-configuration
TarFilehttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile
FilterErrorhttps://peps.python.org/706#filtererror
tarfilehttps://docs.python.org/3.11/library/tarfile.html#module-tarfile
Errorlevel, and fatal/non-fatal errorshttps://peps.python.org/706#errorlevel-and-fatal-non-fatal-errors
TarFilehttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile
extract()https://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile.extract
extractall()https://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile.extractall
Discourse topic 25970https://discuss.python.org/t/25970
Hints for further verificationhttps://peps.python.org/706#hints-for-further-verification
tarfilehttps://docs.python.org/3.11/library/tarfile.html#module-tarfile
GNU tar manualhttps://www.gnu.org/software/tar/manual/html_node/Live-untrusted-data.html#Live-untrusted-data
zipfilehttps://docs.python.org/3.11/library/zipfile.html#module-zipfile
shutilhttps://docs.python.org/3.11/library/shutil.html#module-shutil
TarInfo identity, and offsethttps://peps.python.org/706#tarinfo-identity-and-offset
tarfile CLIhttps://peps.python.org/706#tarfile-cli
Other archive librarieshttps://peps.python.org/706#other-archive-libraries
zipfilehttps://docs.python.org/3.11/library/zipfile.html#module-zipfile
Shutilhttps://peps.python.org/706#shutil
shutil.unpack_archive()https://docs.python.org/3.11/library/shutil.html#shutil.unpack_archive
zipfilehttps://docs.python.org/3.11/library/zipfile.html#module-zipfile
Complex filtershttps://peps.python.org/706#complex-filters
Backwards Compatibilityhttps://peps.python.org/706#backwards-compatibility
TarFile.extracthttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile.extract
TarFile.extractallhttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarFile.extractall
backwards compatibility policyhttps://peps.python.org/pep-0387/
tarfile.TarInfohttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarInfo
TarInfo identity, and offsethttps://peps.python.org/706#offset
Backporting & Forward Compatibilityhttps://peps.python.org/706#backporting-forward-compatibility
Discourse comment 23149/16https://discuss.python.org/t/23149/16
Security Implicationshttps://peps.python.org/706#security-implications
CVE-2007-4559https://nvd.nist.gov/vuln/detail/CVE-2007-4559
How to Teach Thishttps://peps.python.org/706#how-to-teach-this
Reference Implementationhttps://peps.python.org/706#reference-implementation
pull request #102953https://github.com/python/cpython/pull/102953
Rejected Ideashttps://peps.python.org/706#rejected-ideas
SafeTarFilehttps://peps.python.org/706#safetarfile
gh-65308https://github.com/python/cpython/issues/65308
Add absolute_path option to tarfilehttps://peps.python.org/706#add-absolute-path-option-to-tarfile
gh-73974https://github.com/python/cpython/issues/73974
CVE-2007-4559https://nvd.nist.gov/vuln/detail/CVE-2007-4559
Other names for the 'tar' filterhttps://peps.python.org/706#other-names-for-the-tar-filter
Possible Further Workhttps://peps.python.org/706#possible-further-work
Adding filters to zipfile and shutil.unpack_archivehttps://peps.python.org/706#adding-filters-to-zipfile-and-shutil-unpack-archive
zipfilehttps://docs.python.org/3.11/library/zipfile.html#module-zipfile
shutil.unpack_archive()https://docs.python.org/3.11/library/shutil.html#shutil.unpack_archive
ZipFile.extracthttps://docs.python.org/3.11/library/zipfile.html#zipfile.ZipFile.extract
TarInfohttps://docs.python.org/3.11/library/tarfile.html#tarfile.TarInfo
ZipInfohttps://docs.python.org/3.11/library/zipfile.html#zipfile.ZipInfo
Thankshttps://peps.python.org/706#thanks
Copyrighthttps://peps.python.org/706#copyright
https://github.com/python/peps/blob/main/peps/pep-0706.rsthttps://github.com/python/peps/blob/main/peps/pep-0706.rst
2025-02-01 08:55:40 GMThttps://github.com/python/peps/commits/main/peps/pep-0706.rst
Abstracthttps://peps.python.org/706#abstract
Motivationhttps://peps.python.org/706#motivation
Rationalehttps://peps.python.org/706#rationale
Setting a precedenthttps://peps.python.org/706#setting-a-precedent
Full disclosure & redistributor infohttps://peps.python.org/706#full-disclosure-redistributor-info
Specificationhttps://peps.python.org/706#specification
Modifying and forgetting member metadatahttps://peps.python.org/706#modifying-and-forgetting-member-metadata
Filtershttps://peps.python.org/706#filters
Defaults and their configurationhttps://peps.python.org/706#defaults-and-their-configuration
FilterErrorhttps://peps.python.org/706#filtererror
Errorlevel, and fatal/non-fatal errorshttps://peps.python.org/706#errorlevel-and-fatal-non-fatal-errors
Hints for further verificationhttps://peps.python.org/706#hints-for-further-verification
TarInfo identity, and offsethttps://peps.python.org/706#tarinfo-identity-and-offset
tarfile CLIhttps://peps.python.org/706#tarfile-cli
Other archive librarieshttps://peps.python.org/706#other-archive-libraries
Shutilhttps://peps.python.org/706#shutil
Complex filtershttps://peps.python.org/706#complex-filters
Backwards Compatibilityhttps://peps.python.org/706#backwards-compatibility
Backporting & Forward Compatibilityhttps://peps.python.org/706#backporting-forward-compatibility
Security Implicationshttps://peps.python.org/706#security-implications
How to Teach Thishttps://peps.python.org/706#how-to-teach-this
Reference Implementationhttps://peps.python.org/706#reference-implementation
Rejected Ideashttps://peps.python.org/706#rejected-ideas
SafeTarFilehttps://peps.python.org/706#safetarfile
Add absolute_path option to tarfilehttps://peps.python.org/706#add-absolute-path-option-to-tarfile
Other names for the 'tar' filterhttps://peps.python.org/706#other-names-for-the-tar-filter
Possible Further Workhttps://peps.python.org/706#possible-further-work
Adding filters to zipfile and shutil.unpack_archivehttps://peps.python.org/706#adding-filters-to-zipfile-and-shutil-unpack-archive
Thankshttps://peps.python.org/706#thanks
Copyrighthttps://peps.python.org/706#copyright
Page Source (GitHub)https://github.com/python/peps/blob/main/peps/pep-0706.rst?plain=1

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.