gh-111791: delegating extraction to zipfile module's extractall() method by sepastian · Pull Request #111824 · python/cpython · GitHub

github.com

Tin mới

sepastian:shutil_unpack_archive_false_positives

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

: delegating extraction in shutil.unpack_archive …

bedevere-app Bot commented Nov 7, 2023

bedevere-app Bot commented Nov 7, 2023

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

Merge branch 'main' into shutil_unpack_archive_false_positives

📜🤖 Added by blurb_it.

shutil.unpack_archive skips false negatives containing '..' #111791

Update shutil.rst Filenames containing two dots ".." do not necessarily indicate relative path components. Only "../" identify a relative path component.

Merge branch 'main' into shutil_unpack_archive_false_positives

Merge branch 'main' into shutil_unpack_archive_false_positives

Merge branch 'main' into shutil_unpack_archive_false_positives

Merge branch 'main' into shutil_unpack_archive_false_positives

behavioral differences between shutil.unpack_archive and ZipFile.extractall #65106

gh-65106: shutil._unpack_zipfile add warnings for skipped files #29910

Merge branch 'main' into shutil_unpack_archive_false_positives

Merge branch 'main' into shutil_unpack_archive_false_positives

python-cla-bot Bot commented Apr 18, 2025 • edited Loading Uh oh! There was an error while loading. Please reload this page.

python-cla-bot Bot commented Apr 18, 2025 • edited Loading Uh oh! There was an error while loading. Please reload this page.

There was an error while loading. Please reload this page.

⚡ Bolt: Optimize database ingestion with executemany for batch processing vibhu1212/ufdr-analysis-tool#14

github-actions Bot commented Apr 14, 2026

github-actions Bot commented Apr 14, 2026

This PR is stale because it has been open for 30 days with no activity.

shutil.unpack_archive() on Windows writes outside extract_dir for ZIP entries with drive-prefixed names #146581

gh-146581: Update docs for dangerous filenames in ZIP files #149994