René's URL Explorer Experiment


Title: gh-127217: Fix pathname2url() for paths starting with multiple slashes on Posix by serhiy-storchaka · Pull Request #127218 · python/cpython · GitHub

Open Graph Title: gh-127217: Fix pathname2url() for paths starting with multiple slashes on Posix by serhiy-storchaka · Pull Request #127218 · python/cpython

X Title: gh-127217: Fix pathname2url() for paths starting with multiple slashes on Posix by serhiy-storchaka · Pull Request #127218 · python/cpython

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

Open Graph Description: Issue: pathname2url() does not work if path starts with // #127217

X Description: Issue: pathname2url() does not work if path starts with // #127217

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

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:08b23d0c-3366-55ce-d233-a22dfaf018a1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id81B4:1DC4CC:223FD12:2D52A34:6B025207
html-safe-nonce83675620de175fc31285aea0de8a9de4ac8db5134eea8edcf780b06e8b347977
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUI0OjFEQzRDQzoyMjNGRDEyOjJENTJBMzQ6NkIwMjUyMDciLCJ2aXNpdG9yX2lkIjoiMzYyOTExNzY2MzE5Nzk0MjI3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1a2be09144feb218a104103ddab1fedc52c4ef8ab0d63ff73e241c700cd7a209
hovercard-subject-tagpull_request:2196716341
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/127218/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7b15f1db88cb0d543ba2649ba57ce082c3bd9eb079895448bb9c79595dcf5cf4/python/cpython/pull/127218
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7b15f1db88cb0d543ba2649ba57ce082c3bd9eb079895448bb9c79595dcf5cf4/python/cpython/pull/127218
og:image:altIssue: pathname2url() does not work if path starts with // #127217
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
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/127218#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F127218
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%2F127218
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/127218
Reloadhttps://github.com/python/cpython/pull/127218
Reloadhttps://github.com/python/cpython/pull/127218
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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:pathname2url-double-slashhttps://github.com/serhiy-storchaka/cpython/tree/pathname2url-double-slash
Conversationhttps://github.com/python/cpython/pull/127218
Commits1 (1)https://github.com/python/cpython/pull/127218/commits
Checkshttps://github.com/python/cpython/pull/127218/checks
Files changedhttps://github.com/python/cpython/pull/127218/files
gh-127217: Fix pathname2url() for paths starting with multiple slashes on Posixhttps://github.com/python/cpython/pull/127218#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:pathname2url-double-slashhttps://github.com/serhiy-storchaka/cpython/tree/pathname2url-double-slash
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 24, 2024https://github.com/python/cpython/pull/127218#issue-2687556395
Please reload this pagehttps://github.com/python/cpython/pull/127218
pathname2url() does not work if path starts with // #127217https://github.com/python/cpython/issues/127217
Please reload this pagehttps://github.com/python/cpython/pull/127218
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Nov 24, 2024https://github.com/python/cpython/pull/127218#event-15410284519
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
barneygalehttps://github.com/barneygale
November 24, 2024 10:43https://github.com/python/cpython/pull/127218#event-15410284526
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 24, 2024https://github.com/python/cpython/pull/127218#event-15410284711
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 24, 2024 https://github.com/python/cpython/pull/127218#ref-issue-2687526221
pathname2url() does not work if path starts with // #127217 https://github.com/python/cpython/issues/127217
https://github.com/serhiy-storchaka
pythongh-127217https://github.com/python/cpython/issues/127217
: Fix pathname2url() for paths starting with multiple …https://github.com/python/cpython/pull/127218/commits/a206e1a575de223e5180eadbd842cba4f2d98f34
a206e1ahttps://github.com/python/cpython/pull/127218/commits/a206e1a575de223e5180eadbd842cba4f2d98f34
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
force-pushedhttps://github.com/python/cpython/compare/597e382a09cdc532fa449b9222409297e06c4aa1..a206e1a575de223e5180eadbd842cba4f2d98f34
597e382https://github.com/python/cpython/commit/597e382a09cdc532fa449b9222409297e06c4aa1
a206e1ahttps://github.com/python/cpython/commit/a206e1a575de223e5180eadbd842cba4f2d98f34
Compare https://github.com/python/cpython/compare/597e382a09cdc532fa449b9222409297e06c4aa1..a206e1a575de223e5180eadbd842cba4f2d98f34
November 24, 2024 10:46https://github.com/python/cpython/pull/127218#event-15410290172
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Nov 24, 2024 https://github.com/python/cpython/pull/127218#pullrequestreview-2456757617
View reviewed changes https://github.com/python/cpython/pull/127218/files/a206e1a575de223e5180eadbd842cba4f2d98f34
barneygalehttps://github.com/barneygale
https://github.com/python/cpython/pull/127218#pullrequestreview-2456757617
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/127218
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 core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Nov 24, 2024https://github.com/python/cpython/pull/127218#event-15411067273
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
97b2ceahttps://github.com/python/cpython/commit/97b2ceaaaf88a73a45254912a0e972412879ccbf
Nov 24, 2024https://github.com/python/cpython/pull/127218#event-15411092918
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Nov 24, 2024https://github.com/python/cpython/pull/127218#issuecomment-2496127177
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/127218
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 24, 2024https://github.com/python/cpython/pull/127218#event-15411093009
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
November 24, 2024 17:30https://github.com/python/cpython/pull/127218#event-15411093102
miss-islingtonhttps://github.com/miss-islington
Nov 24, 2024 https://github.com/python/cpython/pull/127218#ref-commit-3bcb063
https://github.com/serhiy-storchaka
https://github.com/miss-islington
pythongh-127217https://github.com/python/cpython/issues/127217
: Fix pathname2url() for paths starting with multiple …https://github.com/miss-islington/cpython/commit/3bcb063cb8d2255a4d9850d93f0eb6d2584120c9
3bcb063https://github.com/miss-islington/cpython/commit/3bcb063cb8d2255a4d9850d93f0eb6d2584120c9
pythonGH-127218https://github.com/python/cpython/pull/127218
97b2ceahttps://github.com/miss-islington/cpython/commit/97b2ceaaaf88a73a45254912a0e972412879ccbf
miss-islingtonhttps://github.com/miss-islington
Nov 24, 2024 https://github.com/python/cpython/pull/127218#ref-commit-bbefe36
https://github.com/serhiy-storchaka
https://github.com/miss-islington
pythongh-127217https://github.com/python/cpython/issues/127217
: Fix pathname2url() for paths starting with multiple …https://github.com/miss-islington/cpython/commit/bbefe366cd373edeac24353ea325d44936e73f50
bbefe36https://github.com/miss-islington/cpython/commit/bbefe366cd373edeac24353ea325d44936e73f50
pythonGH-127218https://github.com/python/cpython/pull/127218
97b2ceahttps://github.com/miss-islington/cpython/commit/97b2ceaaaf88a73a45254912a0e972412879ccbf
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 24, 2024https://github.com/python/cpython/pull/127218#issuecomment-2496127241
GH-127230https://github.com/python/cpython/pull/127230
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/127218
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Nov 24, 2024https://github.com/python/cpython/pull/127218#event-15411093447
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 24, 2024https://github.com/python/cpython/pull/127218#issuecomment-2496127274
GH-127231https://github.com/python/cpython/pull/127231
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/127218
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Nov 24, 2024https://github.com/python/cpython/pull/127218#event-15411093599
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 24, 2024 https://github.com/python/cpython/pull/127218#ref-commit-5bfacd2
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.12]https://github.com/python/cpython/commit/5bfacd26e84c2f2b09e06634954970781dfc3c35
gh-127217https://github.com/python/cpython/issues/127217
: Fix pathname2url() for paths starting with multiple…https://github.com/python/cpython/commit/5bfacd26e84c2f2b09e06634954970781dfc3c35
5bfacd2https://github.com/python/cpython/commit/5bfacd26e84c2f2b09e06634954970781dfc3c35
GH-127218https://github.com/python/cpython/pull/127218
GH-127231https://github.com/python/cpython/pull/127231
97b2ceahttps://github.com/python/cpython/commit/97b2ceaaaf88a73a45254912a0e972412879ccbf
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 30, 2024 https://github.com/python/cpython/pull/127218#ref-commit-c711deb
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.13]https://github.com/python/cpython/commit/c711deb803d154ef3155406eb33e71113684931c
gh-127217https://github.com/python/cpython/issues/127217
: Fix pathname2url() for paths starting with multiple…https://github.com/python/cpython/commit/c711deb803d154ef3155406eb33e71113684931c
c711debhttps://github.com/python/cpython/commit/c711deb803d154ef3155406eb33e71113684931c
GH-127218https://github.com/python/cpython/pull/127218
GH-127230https://github.com/python/cpython/pull/127230
97b2ceahttps://github.com/python/cpython/commit/97b2ceaaaf88a73a45254912a0e972412879ccbf
ebonnalhttps://github.com/ebonnal
Jan 12, 2025 https://github.com/python/cpython/pull/127218#ref-commit-7f77a83
https://github.com/serhiy-storchaka
https://github.com/ebonnal
pythongh-127217https://github.com/python/cpython/issues/127217
: Fix pathname2url() for paths starting with multiple …https://github.com/ebonnal/cpython/commit/7f77a836dc3083c1ea82584d7e9786b572c8c47e
7f77a83https://github.com/ebonnal/cpython/commit/7f77a836dc3083c1ea82584d7e9786b572c8c47e
pythonGH-127218https://github.com/python/cpython/pull/127218
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jul 19, 2025 https://github.com/python/cpython/pull/127218#ref-pullrequest-3141673157
Adjust path_to_url et al. to produce the same results on Python 3.14+ pypa/pip#13423 https://github.com/pypa/pip/pull/13423
biergaizihttps://github.com/biergaizi
Nov 20, 2025 https://github.com/python/cpython/pull/127218#ref-commit-413e02a
https://github.com/biergaizi
python: remove extra slash from generated file URLs.https://github.com/fasterEMS/fasterEMS/commit/413e02ad256135263551f904f53078661e846c02
413e02ahttps://github.com/fasterEMS/fasterEMS/commit/413e02ad256135263551f904f53078661e846c02
python/cpython#127218https://github.com/python/cpython/pull/127218
python/cpython@97b2ceahttps://github.com/python/cpython/commit/97b2ceaaaf88a73a45254912a0e972412879ccbf
https://github.com/biergaizi
biergaizihttps://github.com/biergaizi
Nov 20, 2025 https://github.com/python/cpython/pull/127218#ref-pullrequest-3645734167
python: fix incorrect openEMS-Project path detection. thliebig/openEMS#199 https://github.com/thliebig/openEMS/pull/199
biergaizihttps://github.com/biergaizi
Nov 20, 2025 https://github.com/python/cpython/pull/127218#ref-commit-a62bc40
https://github.com/biergaizi
python: remove extra slash from generated file URLs.https://github.com/fasterEMS/fasterEMS/commit/a62bc40926452ac7b797a85e7c21336106b2f046
a62bc40https://github.com/fasterEMS/fasterEMS/commit/a62bc40926452ac7b797a85e7c21336106b2f046
python/cpython#127218https://github.com/python/cpython/pull/127218
python/cpython@97b2ceahttps://github.com/python/cpython/commit/97b2ceaaaf88a73a45254912a0e972412879ccbf
biergaizihttps://github.com/biergaizi
Nov 20, 2025 https://github.com/python/cpython/pull/127218#ref-commit-cc021fd
https://github.com/biergaizi
python: remove extra slash from generated file URLs.https://github.com/fasterEMS/fasterEMS/commit/cc021fd3886de7b0faed3d38e52ab56dc9c847d7
cc021fdhttps://github.com/fasterEMS/fasterEMS/commit/cc021fd3886de7b0faed3d38e52ab56dc9c847d7
python/cpython#127218https://github.com/python/cpython/pull/127218
python/cpython@97b2ceahttps://github.com/python/cpython/commit/97b2ceaaaf88a73a45254912a0e972412879ccbf
thliebighttps://github.com/thliebig
Nov 20, 2025 https://github.com/python/cpython/pull/127218#ref-commit-02cf7de
https://github.com/biergaizi
https://github.com/thliebig
python: remove extra slash from generated file URLs.https://github.com/thliebig/openEMS/commit/02cf7de90528289f705245e3d9eb60d4cfecc47b
02cf7dehttps://github.com/thliebig/openEMS/commit/02cf7de90528289f705245e3d9eb60d4cfecc47b
python/cpython#127218https://github.com/python/cpython/pull/127218
python/cpython@97b2ceahttps://github.com/python/cpython/commit/97b2ceaaaf88a73a45254912a0e972412879ccbf
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%2F127218
https://github.com/barneygale
barneygale https://github.com/barneygale
https://github.com/python/cpython/pull/127218/files/a206e1a575de223e5180eadbd842cba4f2d98f34
Please reload this pagehttps://github.com/python/cpython/pull/127218
Please reload this pagehttps://github.com/python/cpython/pull/127218
https://github.com/serhiy-storchaka
https://github.com/barneygale
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.