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/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:170b23df-5b58-7ec8-852b-b0e4354e08db
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC22A:A70A9:1B09765:23B0297:6B021CC9
html-safe-nonced405ca5109c68e286852190f832f07650b5453624926e192558a8ffd90b861de
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjJBOkE3MEE5OjFCMDk3NjU6MjNCMDI5Nzo2QjAyMUNDOSIsInZpc2l0b3JfaWQiOiI0NTIwNjIxMDI2OTQxNDc2MDQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3e60f352176c322a1d0f03ce40b38c03dd74bc1b832f7e08c0bbef47fcc9c508
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/143665/commits
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-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/143665/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143665%2Fcommits
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%2Fcommits
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/143665/commits
Reloadhttps://github.com/python/cpython/pull/143665/commits
Reloadhttps://github.com/python/cpython/pull/143665/commits
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/commits#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
Perform path normalization in TarFile.extractall()https://github.com/python/cpython/pull/143665/commits/75b6685c160412679ad6e695ac8f09053f92e942
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/python/cpython/commits?author=0xd6cb6d73
75b6685https://github.com/python/cpython/pull/143665/commits/75b6685c160412679ad6e695ac8f09053f92e942
https://github.com/python/cpython/tree/75b6685c160412679ad6e695ac8f09053f92e942
Fix blurb syntaxhttps://github.com/python/cpython/pull/143665/commits/c48bda863a61f2dbbd5bf71cdaff322ac4010c88
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/python/cpython/commits?author=0xd6cb6d73
c48bda8https://github.com/python/cpython/pull/143665/commits/c48bda863a61f2dbbd5bf71cdaff322ac4010c88
https://github.com/python/cpython/tree/c48bda863a61f2dbbd5bf71cdaff322ac4010c88
Do not systematically normalize path in extractallhttps://github.com/python/cpython/pull/143665/commits/765776ae96bf27fb4a71ed0163c23c5d833d5955
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/python/cpython/commits?author=0xd6cb6d73
765776ahttps://github.com/python/cpython/pull/143665/commits/765776ae96bf27fb4a71ed0163c23c5d833d5955
https://github.com/python/cpython/tree/765776ae96bf27fb4a71ed0163c23c5d833d5955
Replace tar separator by OS-specific separator in _get_extract_tarinfohttps://github.com/python/cpython/pull/143665/commits/d41ed219562cee7af7a7013c3da2efc57a57b088
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/python/cpython/commits?author=0xd6cb6d73
d41ed21https://github.com/python/cpython/pull/143665/commits/d41ed219562cee7af7a7013c3da2efc57a57b088
https://github.com/python/cpython/tree/d41ed219562cee7af7a7013c3da2efc57a57b088
Update NEWS entryhttps://github.com/python/cpython/pull/143665/commits/4776a7cdedaaa9bfeab283d4cc04529ab85a27dd
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/python/cpython/commits?author=0xd6cb6d73
4776a7chttps://github.com/python/cpython/pull/143665/commits/4776a7cdedaaa9bfeab283d4cc04529ab85a27dd
https://github.com/python/cpython/tree/4776a7cdedaaa9bfeab283d4cc04529ab85a27dd
Only perform separator replacement if platform separator doesn't match tar separatorhttps://github.com/python/cpython/pull/143665/commits/d84c7bc40f394ff5c61a48a6f58691099af21d85
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/python/cpython/commits?author=0xd6cb6d73
d84c7bchttps://github.com/python/cpython/pull/143665/commits/d84c7bc40f394ff5c61a48a6f58691099af21d85
https://github.com/python/cpython/tree/d84c7bc40f394ff5c61a48a6f58691099af21d85
Improve separator replacementhttps://github.com/python/cpython/pull/143665/commits/4621b222a70c5db3c71f7309561616357648dcb6
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/python/cpython/commits?author=0xd6cb6d73
4621b22https://github.com/python/cpython/pull/143665/commits/4621b222a70c5db3c71f7309561616357648dcb6
https://github.com/python/cpython/tree/4621b222a70c5db3c71f7309561616357648dcb6
Only perform path separator replacement at lstat callsitehttps://github.com/python/cpython/pull/143665/commits/9d94cc9af6971d42136c13f775cbd7e45e6b6672
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/python/cpython/commits?author=0xd6cb6d73
9d94cc9https://github.com/python/cpython/pull/143665/commits/9d94cc9af6971d42136c13f775cbd7e45e6b6672
https://github.com/python/cpython/tree/9d94cc9af6971d42136c13f775cbd7e45e6b6672
Update blurbhttps://github.com/python/cpython/pull/143665/commits/88fc9150220b49f2d3d361b11ff0bba06451a0ad
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/python/cpython/commits?author=0xd6cb6d73
88fc915https://github.com/python/cpython/pull/143665/commits/88fc9150220b49f2d3d361b11ff0bba06451a0ad
https://github.com/python/cpython/tree/88fc9150220b49f2d3d361b11ff0bba06451a0ad
blurb fixhttps://github.com/python/cpython/pull/143665/commits/6727020771f0e9824b83fd439e1ce46f419dd944
https://github.com/0xd6cb6d73
0xd6cb6d73https://github.com/python/cpython/commits?author=0xd6cb6d73
6727020https://github.com/python/cpython/pull/143665/commits/6727020771f0e9824b83fd439e1ce46f419dd944
https://github.com/python/cpython/tree/6727020771f0e9824b83fd439e1ce46f419dd944
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.