René's URL Explorer Experiment


Title: lab-ops-hub: container validator still allows DEL/C1-control, NBSP and WHATWG-forbidden (<>^|) hosts the Worker validator refuses · Issue #510 · developing-today/code · GitHub

Open Graph Title: lab-ops-hub: container validator still allows DEL/C1-control, NBSP and WHATWG-forbidden (<>^|) hosts the Worker validator refuses · Issue #510 · developing-today/code

X Title: lab-ops-hub: container validator still allows DEL/C1-control, NBSP and WHATWG-forbidden (<>^|) hosts the Worker validator refuses · Issue #510 · developing-today/code

Description: Summary PR #508 (fix for #507) added a whitespace check to the lab-ops-hub container crawler's validate_crawl_url (pkgs/lab-ops-hub/container/app.py:63 on main d4809cff): if any(ord(c) <= 0x20 for c in host): raise ValueError(f"refusing ...

Open Graph Description: Summary PR #508 (fix for #507) added a whitespace check to the lab-ops-hub container crawler's validate_crawl_url (pkgs/lab-ops-hub/container/app.py:63 on main d4809cff): if any(ord(c) <= 0x20 for ...

X Description: Summary PR #508 (fix for #507) added a whitespace check to the lab-ops-hub container crawler's validate_crawl_url (pkgs/lab-ops-hub/container/app.py:63 on main d4809cff): if any(ord(c) <= 0x...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"lab-ops-hub: container validator still allows DEL/C1-control, NBSP and WHATWG-forbidden (\u003c>^|) hosts the Worker validator refuses","articleBody":"## Summary\n\nPR #508 (fix for #507) added a whitespace check to the lab-ops-hub container crawler's `validate_crawl_url` (`pkgs/lab-ops-hub/container/app.py:63` on main `d4809cff`):\n\n```python\nif any(ord(c) \u003c= 0x20 for c in host):\n    raise ValueError(f\"refusing to crawl host with whitespace {host!r}\")\n```\n\nIts comment says \"A space or control character in the host is not a DNS name\", but `ord(c) \u003c= 0x20` covers only the C0 controls + space. The remaining control characters and the rest of the WHATWG forbidden-host set still fall through and are certified as \"a public DNS name\", while the Worker's `validateCrawlUrl` (`pkgs/lab-ops-hub/src/lib.ts:129`) refuses every one of them outright:\n\n| Host form | TS Worker | Python container |\n| --- | --- | --- |\n| `http://exam\\x7fple.com/` (DEL) | BLOCK (\"url is not a valid URL\") | **ALLOW** |\n| `http://exam\\x80ple.com/` … `\\x9f` (C1 controls) | BLOCK | **ALLOW** |\n| `http://exam\\xa0ple.com/` (NBSP) | BLOCK | **ALLOW** |\n| `http://exam\u003cple.com/`, `exam>ple`, `exam^ple`, `exam\\|ple` | BLOCK | **ALLOW** |\n\nControls, identical on both sides (must not change): ordinary DNS names, `http://exam_ple.com/`, and valid IDN hosts (e.g. `examéple.com`) are ALLOW/ALLOW — so the fix must not blanket-ban non-ASCII.\n\n## Evidence\n\n- PR: https://github.com/developing-today/code/pull/508, commit `ebbeb8bca08895de704c720526b7842235590249`, merged as `d4809cffa77d9fb4695262445802a197ab1b6b4e`.\n- Verified on current main `d4809cff` (git `origin/main` and `gh api` agree) by driving both real validators over the same battery: every printable ASCII character plus 0x7F–0xA0, é and a combining char, each embedded as `http://exam\u003cchar>ple.com/` (TS via bun importing `src/lib.ts`, Python by importing `container/app.py`). The complete set of divergences was exactly: `\u003c`, `>`, `^`, `|`, 0x7F, 0x80–0x9F, 0xA0.\n- The DEL case reproduces #507's exact lazy-failure shape: Python's own fetcher rejects it deep inside `http.client`, whose disallowed-character check is `[\\\\x00-\\\\x20\\\\x7f]` — i.e. `http.client.HTTPConnection(\"exam\\\\x7fple.com\").putrequest(...)` raises `InvalidURL: URL can't contain control characters` — but the validator's new check stops one codepoint short of the fetcher's own set. The `\u003c > ^ |` hosts are WHATWG forbidden host codepoints; no DNS resolver accepts them either, so those crawls also die below the validator instead of at it.\n\n## Why it matters\n\nThe container validator is the defence-in-depth re-check on the component that actually fetches (#441), and the parity premise of #468/#502/#505/#507 is that where the two validators disagree, the effective policy is the weaker one. PR #508 closed the space/C0 part of this class but left the validator's stated rule (\"space or control character\") under-implemented: a whole tail of not-a-DNS-name hosts is still certified as public DNS names, pushing the failure into the fetcher/resolver as a low-level error and leaving the guard's verdict meaningless for them.\n\nCross-repo note: this validator pair lives only in developing-today/code (`git grep` for `validateCrawlUrl`/`validate_crawl_url` in the opencode, openchamber and dezren39/nix clones finds no twin), so this is a single-repo issue.\n\n## Acceptance criteria\n\n- `validate_crawl_url` refuses a host containing DEL (0x7F), a C1 control (0x80–0x9F), NBSP (0xA0), or any of `\u003c > ^ |`, up front with a clear validator error.\n- Controls unchanged: ordinary DNS names, `exam_ple.com`, valid IDN hosts, valid IPv6 literals and public targets are still accepted on both sides.\n- A regression test in `pkgs/lab-ops-hub/test/test_container_validate.py` covers each refused class, and fails with only `container/app.py` reverted (ablation).\n- The Python and TS validators agree on the full character battery above.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-21T22:04:52Z","url":"https://github.com/developing-today/code/issues/510"}

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:495a4fe0-bfd7-a793-173b-36a7a6a90716
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBACA:130DD7:739207:99FC3C:6B062C72
html-safe-nonce9e146e2288a10eae5be9256dcd8214629cf25a3ea52e27b009f2702c4905c739
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUNBOjEzMERENzo3MzkyMDc6OTlGQzNDOjZCMDYyQzcyIiwidmlzaXRvcl9pZCI6IjMxNjYxODU5OTYxNzgzMDQxMTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac81d8d1eadf56758e1055e253920c0cb1d6b4dd378e2b82f678112d691d91f83c
hovercard-subject-tagissue:5969284928
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/510/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6052764ff6827334c00f2e9461257e73b5f127290c03eab7aedba13e5205bf8f/developing-today/code/issues/510
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6052764ff6827334c00f2e9461257e73b5f127290c03eab7aedba13e5205bf8f/developing-today/code/issues/510
og:image:altSummary PR #508 (fix for #507) added a whitespace check to the lab-ops-hub container crawler's validate_crawl_url (pkgs/lab-ops-hub/container/app.py:63 on main d4809cff): if any(ord(c) <= 0x20 for ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3
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
release494ea0bb1e0feef734a83e2628697647755e8864
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/510#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F510
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%2F510
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/510
Reloadhttps://github.com/developing-today/code/issues/510
Reloadhttps://github.com/developing-today/code/issues/510
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 requests150 (150)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/510
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/510
#515https://github.com/developing-today/code/pull/515
lab-ops-hub: container validator still allows DEL/C1-control, NBSP and WHATWG-forbidden (<>^|) hosts the Worker validator refuseshttps://github.com/developing-today/code/issues/510#top
#515https://github.com/developing-today/code/pull/515
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 21, 2026https://github.com/developing-today/code/issues/510#issue-5969284928
#508https://github.com/developing-today/code/pull/508
#507https://github.com/developing-today/code/issues/507
fix(lab-ops-hub): container validator refuses space hosts and IPvFuture literals #508https://github.com/developing-today/code/pull/508
lab-ops-hub: container validator accepts space hosts and IPvFuture literals the Worker validator refuses #507https://github.com/developing-today/code/issues/507
#441https://github.com/developing-today/code/issues/441
#468https://github.com/developing-today/code/issues/468
#502https://github.com/developing-today/code/issues/502
#505https://github.com/developing-today/code/issues/505
#507https://github.com/developing-today/code/issues/507
#508https://github.com/developing-today/code/pull/508
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 21, 2026https://github.com/developing-today/code/issues/510#event-33893322295
dezren39https://github.com/dezren39
on Oct 22, 2026https://github.com/developing-today/code/issues/510#event-33900746660
Merge pull request #515 from developing-today/sweep/510-forbidden-hos…https://github.com/developing-today/code/commit/bf6422879c41f9832a71fdf1b3101ac3d8ad971b
#515https://github.com/developing-today/code/pull/515
bf64228https://github.com/developing-today/code/commit/bf6422879c41f9832a71fdf1b3101ac3d8ad971b
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#515https://github.com/developing-today/code/pull/515
on Oct 22, 2026https://github.com/developing-today/code/issues/510#event-33900746962
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/510
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/510
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.