René's URL Explorer Experiment


Title: gh-143663: Perform path normalization in TarFile.extractall() by 0xd6cb6d73 · Pull Request #143665 · python/cpython · GitHub

Open Graph Title: gh-143663: Perform path normalization in TarFile.extractall() by 0xd6cb6d73 · Pull Request #143665 · python/cpython

X Title: gh-143663: Perform path normalization in TarFile.extractall() by 0xd6cb6d73 · Pull Request #143665 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: This PR fixes an issue on Windows caused by non-normalized destination paths when calling extractall(). Issue: TarFile.extractall() doesn't properly handle UNC paths #143663 Issue: TarFile....

X Description: This PR fixes an issue on Windows caused by non-normalized destination paths when calling extractall(). Issue: TarFile.extractall() doesn't properly handle UNC paths #143663 Issue: TarF...

Opengraph URL: https://github.com/python/cpython/pull/143665

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:fb2c33a5-dd77-2ef8-d132-8be7f46d5759
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA20E:1F5C:4BF66B:6593B6:6B01FFD9
html-safe-nonceb62810a933069f96c1a8d82694938c114f6fb68d4e20ea2849ef40143e2eb558
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjBFOjFGNUM6NEJGNjZCOjY1OTNCNjo2QjAxRkZEOSIsInZpc2l0b3JfaWQiOiI1MDUwMDM2MDQwNTY0NzMyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6b06f8598026d04debe1f4aa4289c9461247ebc4204f570f614b8f52a82c8e47
hovercard-subject-tagpull_request:3162288939
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/143665/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fa079b1070689ffc69bbe79c812c4ef617473a58be9cdeb5504e5b528cbba356/python/cpython/pull/143665
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fa079b1070689ffc69bbe79c812c4ef617473a58be9cdeb5504e5b528cbba356/python/cpython/pull/143665
og:image:altThis PR fixes an issue on Windows caused by non-normalized destination paths when calling extractall(). Issue: TarFile.extractall() doesn't properly handle UNC paths #143663 Issue: TarFile....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:username0xd6cb6d73
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/143665#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143665
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143665
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/143665
Reloadhttps://github.com/python/cpython/pull/143665
Reloadhttps://github.com/python/cpython/pull/143665
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
ethanfurmanhttps://github.com/ethanfurman
python:mainhttps://github.com/python/cpython/tree/main
0xd6cb6d73:fix-issue-143663https://github.com/0xd6cb6d73/cpython/tree/fix-issue-143663
Conversationhttps://github.com/python/cpython/pull/143665
Commits10 (10)https://github.com/python/cpython/pull/143665/commits
Checkshttps://github.com/python/cpython/pull/143665/checks
Files changedhttps://github.com/python/cpython/pull/143665/files
gh-143663: Perform path normalization in TarFile.extractall()https://github.com/python/cpython/pull/143665#top
ethanfurmanhttps://github.com/ethanfurman
python:mainhttps://github.com/python/cpython/tree/main
0xd6cb6d73:fix-issue-143663https://github.com/0xd6cb6d73/cpython/tree/fix-issue-143663
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/0xd6cb6d73
Jan 10, 2026https://github.com/python/cpython/pull/143665#issue-3800048886
Please reload this pagehttps://github.com/python/cpython/pull/143665
TarFile.extractall() doesn't properly handle UNC paths #143663https://github.com/python/cpython/issues/143663
TarFile.extractall() doesn't properly handle UNC paths #143663https://github.com/python/cpython/issues/143663
Please reload this pagehttps://github.com/python/cpython/pull/143665
https://github.com/0xd6cb6d73
Perform path normalization in TarFile.extractall()https://github.com/python/cpython/pull/143665/commits/75b6685c160412679ad6e695ac8f09053f92e942
75b6685https://github.com/python/cpython/pull/143665/commits/75b6685c160412679ad6e695ac8f09053f92e942
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/0xd6cb6d73
ethanfurmanhttps://github.com/ethanfurman
code ownerhttps://github.com/python/cpython/blob/aa8578dc54df2af9daa3353566359e602e5905cf/.github/CODEOWNERS#L586
January 10, 2026 16:44https://github.com/python/cpython/pull/143665#event-21964722487
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Jan 10, 2026https://github.com/python/cpython/pull/143665#issuecomment-3733198964
Please reload this pagehttps://github.com/python/cpython/pull/143665
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/143665
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jan 10, 2026https://github.com/python/cpython/pull/143665#event-21964723744
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 10, 2026 https://github.com/python/cpython/pull/143665#ref-issue-3800022676
TarFile.extractall() doesn't properly handle UNC paths #143663 https://github.com/python/cpython/issues/143663
https://github.com/0xd6cb6d73
Fix blurb syntaxhttps://github.com/python/cpython/pull/143665/commits/c48bda863a61f2dbbd5bf71cdaff322ac4010c88
c48bda8https://github.com/python/cpython/pull/143665/commits/c48bda863a61f2dbbd5bf71cdaff322ac4010c88
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/0xd6cb6d73
force-pushedhttps://github.com/python/cpython/compare/dd34127d0f1f1571fd4f09bae32c8b6e9b71ffda..c48bda863a61f2dbbd5bf71cdaff322ac4010c88
dd34127https://github.com/python/cpython/commit/dd34127d0f1f1571fd4f09bae32c8b6e9b71ffda
c48bda8https://github.com/python/cpython/commit/c48bda863a61f2dbbd5bf71cdaff322ac4010c88
Compare https://github.com/python/cpython/compare/dd34127d0f1f1571fd4f09bae32c8b6e9b71ffda..c48bda863a61f2dbbd5bf71cdaff322ac4010c88
January 10, 2026 16:54https://github.com/python/cpython/pull/143665#event-21964790321
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jan 10, 2026https://github.com/python/cpython/pull/143665#issuecomment-3733253387
Please reload this pagehttps://github.com/python/cpython/pull/143665
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jan 10, 2026https://github.com/python/cpython/pull/143665#event-21964982868
0xd6cb6d73https://github.com/0xd6cb6d73
January 10, 2026 20:52https://github.com/python/cpython/pull/143665#commits-pushed-765776a
https://github.com/0xd6cb6d73
Do not systematically normalize path in extractallhttps://github.com/python/cpython/pull/143665/commits/765776ae96bf27fb4a71ed0163c23c5d833d5955
765776ahttps://github.com/python/cpython/pull/143665/commits/765776ae96bf27fb4a71ed0163c23c5d833d5955
https://github.com/0xd6cb6d73
Replace tar separator by OS-specific separator in _get_extract_tarinfohttps://github.com/python/cpython/pull/143665/commits/d41ed219562cee7af7a7013c3da2efc57a57b088
d41ed21https://github.com/python/cpython/pull/143665/commits/d41ed219562cee7af7a7013c3da2efc57a57b088
https://github.com/0xd6cb6d73
Update NEWS entryhttps://github.com/python/cpython/pull/143665/commits/4776a7cdedaaa9bfeab283d4cc04529ab85a27dd
4776a7chttps://github.com/python/cpython/pull/143665/commits/4776a7cdedaaa9bfeab283d4cc04529ab85a27dd
https://github.com/0xd6cb6d73
Only perform separator replacement if platform separator doesn't matc…https://github.com/python/cpython/pull/143665/commits/d84c7bc40f394ff5c61a48a6f58691099af21d85
d84c7bchttps://github.com/python/cpython/pull/143665/commits/d84c7bc40f394ff5c61a48a6f58691099af21d85
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jan 12, 2026https://github.com/python/cpython/pull/143665#event-21997083860
0xd6cb6d73https://github.com/0xd6cb6d73
January 12, 2026 20:38https://github.com/python/cpython/pull/143665#commits-pushed-4621b22
https://github.com/0xd6cb6d73
Improve separator replacementhttps://github.com/python/cpython/pull/143665/commits/4621b222a70c5db3c71f7309561616357648dcb6
4621b22https://github.com/python/cpython/pull/143665/commits/4621b222a70c5db3c71f7309561616357648dcb6
https://github.com/0xd6cb6d73
Only perform path separator replacement at lstat callsitehttps://github.com/python/cpython/pull/143665/commits/9d94cc9af6971d42136c13f775cbd7e45e6b6672
9d94cc9https://github.com/python/cpython/pull/143665/commits/9d94cc9af6971d42136c13f775cbd7e45e6b6672
https://github.com/0xd6cb6d73
Update blurbhttps://github.com/python/cpython/pull/143665/commits/88fc9150220b49f2d3d361b11ff0bba06451a0ad
88fc915https://github.com/python/cpython/pull/143665/commits/88fc9150220b49f2d3d361b11ff0bba06451a0ad
https://github.com/0xd6cb6d73
blurb fixhttps://github.com/python/cpython/pull/143665/commits/6727020771f0e9824b83fd439e1ce46f419dd944
6727020https://github.com/python/cpython/pull/143665/commits/6727020771f0e9824b83fd439e1ce46f419dd944
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/0xd6cb6d73
Jan 13, 2026https://github.com/python/cpython/pull/143665#issuecomment-3746633340
Please reload this pagehttps://github.com/python/cpython/pull/143665
Please reload this pagehttps://github.com/python/cpython/pull/143665
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 4, 2026https://github.com/python/cpython/pull/143665#issuecomment-4373478988
Please reload this pagehttps://github.com/python/cpython/pull/143665
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
May 4, 2026https://github.com/python/cpython/pull/143665#event-25145340062
https://github.com/victorvianna
victorviannahttps://github.com/victorvianna
Nov 19, 2026https://github.com/python/cpython/pull/143665#issuecomment-7010128660
Please reload this pagehttps://github.com/python/cpython/pull/143665
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
Nov 19, 2026 https://github.com/python/cpython/pull/143665#pullrequestreview-5980848584
View reviewed changes https://github.com/python/cpython/pull/143665/files/6727020771f0e9824b83fd439e1ce46f419dd944
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 19, 2026https://github.com/python/cpython/pull/143665#event-36685240696
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
562f08dhttps://github.com/python/cpython/commit/562f08d6910f01e98f90e589ca5ee065fcbae53e
Nov 19, 2026https://github.com/python/cpython/pull/143665#event-36685514649
Please reload this pagehttps://github.com/python/cpython/pull/143665
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Nov 19, 2026https://github.com/python/cpython/pull/143665#event-36685523808
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 19, 2026https://github.com/python/cpython/pull/143665#issuecomment-7021129159
562f08dhttps://github.com/python/cpython/commit/562f08d6910f01e98f90e589ca5ee065fcbae53e
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/#/builders/2255/builds/787https://buildbot.python.org/#/builders/2255/builds/787
562f08dhttps://github.com/python/cpython/commit/562f08d6910f01e98f90e589ca5ee065fcbae53e
https://buildbot.python.org/#/builders/2255/builds/787https://buildbot.python.org/#/builders/2255/builds/787
Please reload this pagehttps://github.com/python/cpython/pull/143665
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143665
https://github.com/ethanfurman
ethanfurman https://github.com/ethanfurman
https://github.com/python/cpython/pull/143665/files/6727020771f0e9824b83fd439e1ce46f419dd944
Please reload this pagehttps://github.com/python/cpython/pull/143665
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/python/cpython/pull/143665
https://github.com/0xd6cb6d73
https://github.com/picnixz
https://github.com/victorvianna
https://github.com/bedevere-bot
https://github.com/ethanfurman
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.