René's URL Explorer Experiment


Title: lab-ops-hub: container validator drops the DNS root dot only for the percent-encoded spelling — returned URL differs from the Worker and from its own literal-dot form · Issue #647 · developing-today/code · GitHub

Open Graph Title: lab-ops-hub: container validator drops the DNS root dot only for the percent-encoded spelling — returned URL differs from the Worker and from its own literal-dot form · Issue #647 · developing-today/code

X Title: lab-ops-hub: container validator drops the DNS root dot only for the percent-encoded spelling — returned URL differs from the Worker and from its own literal-dot form · Issue #647 · developing-today/code

Description: Finding For a host with a trailing DNS root dot, the container validator returns a different URL depending on how the dot was spelled, and the percent-encoded spelling disagrees with the Worker validator: Input Container returns Worker r...

Open Graph Description: Finding For a host with a trailing DNS root dot, the container validator returns a different URL depending on how the dot was spelled, and the percent-encoded spelling disagrees with the Worker val...

X Description: Finding For a host with a trailing DNS root dot, the container validator returns a different URL depending on how the dot was spelled, and the percent-encoded spelling disagrees with the Worker val...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"lab-ops-hub: container validator drops the DNS root dot only for the percent-encoded spelling — returned URL differs from the Worker and from its own literal-dot form","articleBody":"## Finding\n\nFor a host with a trailing DNS root dot, the container validator returns a different URL depending on how the dot was spelled, and the percent-encoded spelling disagrees with the Worker validator:\n\n| Input | Container returns | Worker returns |\n|---|---|---|\n| `http://example.com./` | `http://example.com./` | `http://example.com./` |\n| `http://example.com./path` | `http://example.com./path` | `http://example.com./path` |\n| `http://example.com%2e/` | `http://example.com/` | `http://example.com./` |\n| `http://example.com%2E/` | `http://example.com/` | `http://example.com./` |\n| `http://sub.example.com%2e/` | `http://sub.example.com/` | `http://sub.example.com./` |\n| `http://example.com%2e/path` | `http://example.com/path` | `http://example.com./path` |\n\nVerified this run on current main (e810ca8d), driving both real validators: Python `validate_crawl_url` (`pkgs/lab-ops-hub/container/app.py`) and the Worker `validateCrawlUrl` (`pkgs/lab-ops-hub/src/lib.ts`) under Bun. Acceptance agrees everywhere probed (both refuse `http://localhost%2e/`, both accept the public forms) — only the returned/recorded form diverges.\n\n## Root cause\n\n`container/app.py:250-251` strips a single trailing root dot from the judged host (`host = host[:-1]`, #466) — correct for judging. But the percent-decoded return path (`container/app.py`, the `_url_with_host(u, host) if percent_decoded else raw` call in `validate_crawl_url`, ~line 402) rebuilds the returned URL from that stripped host, so the dot is lost. The literal-dot spelling takes the `raw` path and keeps its dot. The Worker strips the dot only for its checks (`src/lib.ts:145-146`) but returns `u.toString()`, and WHATWG host parsing decodes `%2e` to `.` and serialises the root dot back — so the Worker returns the dotted form for both spellings.\n\n## Why it matters\n\nThe validated URL is the crawl record and the fetched URL: the same target is recorded as `http://example.com/` by the container (percent-encoded input) but `http://example.com./` by the Worker and by the container itself (literal input), defeating cross-crawler dedup/comparison for root-dot spellings — the same class of divergence #633/#639 addressed for dot segments, ports and empty components. (Fetching is unaffected in practice: a root-dot host resolves identically.)\n\n## Acceptance criteria\n\n- One canonical returned form for the root-dot host, identical for the literal and percent-encoded spellings and matching the Worker (or the Worker changed too, with the decision recorded — the two validators must agree).\n- A differential test against the Worker validator covers `example.com.`, `example.com%2e`, `example.com%2E` and a subdomain form, with and without a path.\n- No change to which targets are accepted or refused (`localhost%2e` stays refused, `example.com..` stays refused); existing container and Worker validator tests stay green.\n\n## Suggested fix\n\nIn the percent-decoded return path, re-attach the root dot that judging stripped (track whether the decoded host ended in `.` before the strip at app.py:250 and append it to the host passed to `_url_with_host`), or record the pre-strip decoded host for the return form while judging the stripped one.","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-23T04:58:28Z","url":"https://github.com/developing-today/code/issues/647"}

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:350bf395-dc54-61a2-52a7-dacf44a8a462
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE7EA:38A9D8:A0D57C:D5F6C5:6B063CE5
html-safe-nonce7bb0e14c33e6dd55713e259a8a604e702e843d455563a9b890b7257a0d716783
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0VBOjM4QTlEODpBMEQ1N0M6RDVGNkM1OjZCMDYzQ0U1IiwidmlzaXRvcl9pZCI6IjQwMTg4OTYxOTMxMDIxNjcyNjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacff9710fb3094259be5bf491674582d058a5096e8a886c2e8d38c592020680cb9
hovercard-subject-tagissue:5992162798
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/647/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c3d7c9e689db9866a408067e44ef0ec01a565e4fcdac4a20c52b0afb5ce5e69f/developing-today/code/issues/647
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c3d7c9e689db9866a408067e44ef0ec01a565e4fcdac4a20c52b0afb5ce5e69f/developing-today/code/issues/647
og:image:altFinding For a host with a trailing DNS root dot, the container validator returns a different URL depending on how the dot was spelled, and the percent-encoded spelling disagrees with the Worker val...
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/647#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F647
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%2F647
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/647
Reloadhttps://github.com/developing-today/code/issues/647
Reloadhttps://github.com/developing-today/code/issues/647
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 requests168 (168)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/647
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/647
#664https://github.com/developing-today/code/pull/664
#657https://github.com/developing-today/code/pull/657
lab-ops-hub: container validator drops the DNS root dot only for the percent-encoded spelling — returned URL differs from the Worker and from its own literal-dot formhttps://github.com/developing-today/code/issues/647#top
#664https://github.com/developing-today/code/pull/664
#657https://github.com/developing-today/code/pull/657
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/647#issue-5992162798
e810ca8https://github.com/developing-today/code/commit/e810ca8dfceb99934b9511e6c32b75d8f89642ac
#466https://github.com/developing-today/code/issues/466
#633https://github.com/developing-today/code/issues/633
#639https://github.com/developing-today/code/issues/639
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/647#event-34019736390
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/647#event-34030715932
Merge pull request #657 from developing-today/sweep/647-percent-encod…https://github.com/developing-today/code/commit/f1a8abf0c4da2fee9b28c42805ecfc6b62340acb
#657https://github.com/developing-today/code/pull/657
f1a8abfhttps://github.com/developing-today/code/commit/f1a8abf0c4da2fee9b28c42805ecfc6b62340acb
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#657https://github.com/developing-today/code/pull/657
on Oct 23, 2026https://github.com/developing-today/code/issues/647#event-34030716257
https://github.com/apps/developing-today-fleet
developing-today-fleethttps://github.com/apps/developing-today-fleet
on Nov 24, 2026https://github.com/developing-today/code/issues/647#issuecomment-7124554976
developing.today fleethttps://kaneo.security.cab
PR #657 — fix(lab-ops-hub): keep the DNS root dot for percent-encoded host spellings (#647)https://github.com/developing-today/code/pull/657
PR #664 — fix(lab-ops-hub): return the ASCII dot for literal UTS-46 separator spellings in the container validator (#660)https://github.com/developing-today/code/pull/664
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/647
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/647
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.