René's URL Explorer Experiment


Title: lab-ops-hub: container validator parses backslash authority differently from WHATWG (127.0.0.1\@example.com judged as example.com; example.com\@127.0.0.1 refused) · Issue #577 · developing-today/code · GitHub

Open Graph Title: lab-ops-hub: container validator parses backslash authority differently from WHATWG (127.0.0.1\@example.com judged as example.com; example.com\@127.0.0.1 refused) · Issue #577 · developing-today/code

X Title: lab-ops-hub: container validator parses backslash authority differently from WHATWG (127.0.0.1\@example.com judged as example.com; example.com\@127.0.0.1 refused) · Issue #577 · developing-today/code

Description: Problem The container crawl validator (pkgs/lab-ops-hub/container/app.py, validate_crawl_url, line 62) parses the URL authority with urllib.parse.urlparse, which treats \ as an ordinary netloc character (part of the userinfo). The Worker...

Open Graph Description: Problem The container crawl validator (pkgs/lab-ops-hub/container/app.py, validate_crawl_url, line 62) parses the URL authority with urllib.parse.urlparse, which treats \ as an ordinary netloc char...

X Description: Problem The container crawl validator (pkgs/lab-ops-hub/container/app.py, validate_crawl_url, line 62) parses the URL authority with urllib.parse.urlparse, which treats \ as an ordinary netloc char...

Opengraph URL: https://github.com/developing-today/code/issues/577

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"lab-ops-hub: container validator parses backslash authority differently from WHATWG (127.0.0.1\\@example.com judged as example.com; example.com\\@127.0.0.1 refused)","articleBody":"## Problem\n\nThe container crawl validator (`pkgs/lab-ops-hub/container/app.py`, `validate_crawl_url`, line 62) parses the URL authority with `urllib.parse.urlparse`, which treats `\\` as an ordinary netloc character (part of the userinfo). The Worker's WHATWG URL parser treats `\\` as a path delimiter for special schemes (http/https), i.e. it **ends the authority**. The two validators therefore disagree about which host a backslash-spelled URL names — in both directions.\n\nVerified this run against current main (container validator imported directly; WHATWG via Node's `new URL`, inputs built with `chr(92)`/`String.fromCharCode(92)` so each URL contains exactly one backslash):\n\n| Input | WHATWG host (Worker judges) | urlparse host (container judges) | Result |\n|---|---|---|---|\n| `http://127.0.0.1\\@example.com/` | `127.0.0.1` | `example.com` | Worker refuses (non-public IPv4); container **accepts** |\n| `http://localhost\\@example.com/` | `localhost` | `example.com` | Worker refuses (blocked host); container **accepts** |\n| `http://example.com\\@127.0.0.1/` | `example.com` | `127.0.0.1` | Worker accepts; container **refuses** (non-public) |\n| `http:\\\\example.com/` | `example.com` | *(none)* | Worker accepts; container refuses \"url has no host\" |\n| `http:/\\example.com/` | `example.com` | *(none)* | Worker accepts; container refuses \"url has no host\" |\n\n## Why it matters\n\n- The container validator is the **only** judge for redirect targets: `container/app.py:401-407` re-validates every redirect `Location` with `validate_crawl_url` alone, and the container's own crawl endpoint validates with it independently (`app.py:498`). A validator that reads `127.0.0.1\\@example.com` as `example.com` certifies a URL whose WHATWG spelling names the loopback host — any WHATWG-semantics consumer of that certified URL (a future fetcher change, a proxy, a browser-side re-crawl) connects to a host this validator never judged. This is the same judge-the-host-that-gets-fetched invariant the #505/#529/#567 fixes established.\n- In the other direction, Worker-accepted crawl targets (`http://example.com\\@127.0.0.1/`, `http:\\\\example.com/`) are refused by the container, so the container fallback errors on URLs the primary path considers valid — an availability divergence of the same family as #571.\n\nNote the percent-encoded form `%5C` is data, not a delimiter, in both parsers and must stay judged as today; only a raw `\\` is structural.\n\n## Acceptance criteria\n\n- `validate_crawl_url` judges the host the WHATWG parser names for raw-backslash spellings: `http://127.0.0.1\\@example.com/` and `http://localhost\\@example.com/` are refused as non-public/blocked; `http://example.com\\@127.0.0.1/` is accepted as `example.com` (and the URL actually fetched names `example.com` — the returned/validated form must not hand the fetcher a spelling whose urlparse host differs from the judged host).\n- `http:\\\\example.com/` and `http:/\\example.com/` are handled the WHATWG way (host `example.com`) or explicitly refused with a test pinning the choice — but the two validators must not silently disagree.\n- New tests in `pkgs/lab-ops-hub/test/test_container_validate.py` cover the table above (Python suite stays green; TS suite untouched unless the fix changes Worker behavior).\n- Differential probe: a battery of backslash spellings (in host, userinfo, and authority-prefix positions) yields the same accept/refuse verdict and the same judged host in both validators.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-22T09:58:57Z","url":"https://github.com/developing-today/code/issues/577"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5871c73b-919c-8bc2-37a7-d09a4bdaa1b0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC408:3AABA8:B85F3F:F45DB4:6B063EAE
html-safe-nonce279e4fc3842584faac2805e7d6cd8ed0dda41390c7648f53005294a2989a46d6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDA4OjNBQUJBODpCODVGM0Y6RjQ1REI0OjZCMDYzRUFFIiwidmlzaXRvcl9pZCI6IjYyNTAxMTIyMTcxMDc1NDU3NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc3fb80556714b4f8932f8e4662094543dbfc7e9633633ed57622f3cff0e055c1
hovercard-subject-tagissue:5977150719
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/577/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7d04287173b5708fcf5aeb8448b7816524e6f6c2d544fbef87576590e829bab4/developing-today/code/issues/577
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7d04287173b5708fcf5aeb8448b7816524e6f6c2d544fbef87576590e829bab4/developing-today/code/issues/577
og:image:altProblem The container crawl validator (pkgs/lab-ops-hub/container/app.py, validate_crawl_url, line 62) parses the URL authority with urllib.parse.urlparse, which treats \ as an ordinary netloc char...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
Nonedcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
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
release0f38f5735226749ec5e08a8649dce4cb2613d9ad
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/577#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F577
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%2Fdeveloping-today%2Fcode%2Fissues%2F577
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/577
Reloadhttps://github.com/developing-today/code/issues/577
Reloadhttps://github.com/developing-today/code/issues/577
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests167 (167)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/577
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/577
#579https://github.com/developing-today/code/pull/579
lab-ops-hub: container validator parses backslash authority differently from WHATWG (127.0.0.1\@example.com judged as example.com; example.com\@127.0.0.1 refused)https://github.com/developing-today/code/issues/577#top
#579https://github.com/developing-today/code/pull/579
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 22, 2026https://github.com/developing-today/code/issues/577#issue-5977150719
lab-ops-hub: container validator allows percent-encoded hosts (%6cocalhost, 127.0.0.1%09) and IPv6 zone ids that the Worker validator refuses #505https://github.com/developing-today/code/issues/505
lab-ops-hub: container validator blanket-refuses percent-encoded hosts the Worker validator decodes and accepts — public spellings (%65xample.com, 8%2e8%2e8%2e8) diverge, including as redirect targets #529https://github.com/developing-today/code/issues/529
lab-ops-hub: PR #533 decode-and-judge bypass — percent-encoded fullwidth delimiters NFKC-map into host delimiters after the decode check, so the container fetches unjudged private hosts (localhost / 127.0.0.1 / 192.168.0.1) #567https://github.com/developing-today/code/issues/567
lab-ops-hub: redirect policy diverges between crawlers — Worker fallback caps at 5 hops and follows any 3xx, container follows 10 hops and only 301/302/303/307/308 #571https://github.com/developing-today/code/issues/571
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 22, 2026https://github.com/developing-today/code/issues/577#event-33936872877
dezren39https://github.com/dezren39
on Oct 22, 2026https://github.com/developing-today/code/issues/577#event-33937268696
lab-ops-hub: ruff format the #577 testshttps://github.com/developing-today/code/commit/222294efb7fd5237433b2b1ec7da956bd4a040a0
#577https://github.com/developing-today/code/issues/577
222294ehttps://github.com/developing-today/code/commit/222294efb7fd5237433b2b1ec7da956bd4a040a0
Merge pull request #579 from developing-today/creator/577-backslash-a…https://github.com/developing-today/code/commit/ca5dafaca291bffd0e66437742d182c9e6dd6bbb
#579https://github.com/developing-today/code/pull/579
ca5dafahttps://github.com/developing-today/code/commit/ca5dafaca291bffd0e66437742d182c9e6dd6bbb
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#579https://github.com/developing-today/code/pull/579
on Oct 22, 2026https://github.com/developing-today/code/issues/577#event-33937613428
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/577#event-34006313091
Merge pull request #621 from developing-today/creator/620-backslash-s…https://github.com/developing-today/code/commit/247ff3ebd0f4001c8a5f6c7efc602354dfb47b07
#621https://github.com/developing-today/code/pull/621
247ff3ehttps://github.com/developing-today/code/commit/247ff3ebd0f4001c8a5f6c7efc602354dfb47b07
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/577
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/577
dezren39https://github.com/dezren39
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.