]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151987: Pass `filter_function` to `TarFile._extract_one()` during `.extract...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 29 Jun 2026 19:10:59 +0000 (21:10 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Jun 2026 19:10:59 +0000 (21:10 +0200)
commit7b57e8d51446297b8c7c482d224bc5f1938e4301
treea20398dcaac68f20f1653ba6a9b3da024b5d1097
parente08e00383ff92566fb0a14bdf620c3f082bd1443
[3.15] gh-151987: Pass `filter_function` to `TarFile._extract_one()` during `.extract()` (GH-151988) (#152608)

(cherry picked from commit 7ccdbaba2c54250a70d7f25632152df7655a5e0a)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Seth Michael Larson <seth@python.org>
Lib/tarfile.py
Lib/test/test_tarfile.py
Misc/NEWS.d/next/Security/2026-06-23-14-19-30.gh-issue-151987.8mNIMf.rst [new file with mode: 0644]