René's URL Explorer Experiment


Title: lab-ops-hub: container validator resolves a trailing '..;' / '.;' segment as a dot segment — bare-semicolon params tail is lost, returned path differs from the Worker · Issue #655 · developing-today/code · GitHub

Open Graph Title: lab-ops-hub: container validator resolves a trailing '..;' / '.;' segment as a dot segment — bare-semicolon params tail is lost, returned path differs from the Worker · Issue #655 · developing-today/code

X Title: lab-ops-hub: container validator resolves a trailing '..;' / '.;' segment as a dot segment — bare-semicolon params tail is lost, returned path differs from the Worker · Issue #655 · developing-today/code

Description: Summary The container validator (pkgs/lab-ops-hub/container/app.py) resolves a trailing dot segment followed by a bare semicolon (..;, .;, .;, ..;) as if it were a plain dot segment, and returns a different path than the Worker ret...

Open Graph Description: Summary The container validator (pkgs/lab-ops-hub/container/app.py) resolves a trailing dot segment followed by a bare semicolon (..;, .;, .;, ..;) as if it were a plain dot segment, and retu...

X Description: Summary The container validator (pkgs/lab-ops-hub/container/app.py) resolves a trailing dot segment followed by a bare semicolon (..;, .;, .;, ..;) as if it were a plain dot segment, and retu...

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

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 resolves a trailing '..;' / '.;' segment as a dot segment — bare-semicolon params tail is lost, returned path differs from the Worker","articleBody":"## Summary\n\nThe container validator (`pkgs/lab-ops-hub/container/app.py`) resolves a trailing dot segment followed by a **bare semicolon** (`..;`, `.;`, `%2e;`, `%2e%2e;`) as if it were a plain dot segment, and returns a different path than the Worker returns for the same target. WHATWG treats `..;` as an ordinary path segment (the semicolon is data), so the Worker keeps it; the container drops the segment entirely (and, for `..;`, pops the previous segment too), so the two crawlers record — and fetch — different URLs.\n\n## Evidence (verified on main `3ac2e9ee`, driving the real Python validator vs Node's WHATWG `URL`)\n\n| Input | Container returns | Worker (WHATWG) returns |\n|---|---|---|\n| `http://example.com/..;` | `http://example.com/` | `http://example.com/..;` |\n| `http://example.com/.;` | `http://example.com/` | `http://example.com/.;` |\n| `http://example.com/foo/..;` | `http://example.com/` | `http://example.com/foo/..;` |\n| `http://example.com/a/.;` | `http://example.com/a/` | `http://example.com/a/.;` |\n| `http://example.com/a/b/..;` | `http://example.com/a/` | `http://example.com/a/b/..;` |\n| `http://example.com/%2e;` | `http://example.com/` | `http://example.com/%2e;` |\n| `http://example.com/%2e%2e;` | `http://example.com/` | `http://example.com/%2e%2e;` |\n| `http://example.com/..;?q` | `http://example.com/?q` | `http://example.com/..;?q` |\n\nControls that already agree (non-empty params are handled): `http://example.com/..;foo`, `http://example.com/foo/.;x`, `http://example.com/a/..;foo` all return unchanged in both.\n\n## Root cause\n\n`urlparse` splits the last path segment at the first `;` into `path` + `params`. For a bare trailing `;` the params are the **empty string**:\n\n```\nurlparse(\"http://example.com/..;\")  -> path=\"/..\", params=\"\"\nurlparse(\"http://example.com/..;foo\") -> path=\"/..\", params=\"foo\"\n```\n\n- `_normalize_validated_url` (app.py:849) rejoins only when params is truthy: `full_path = u.path + (f\";{u.params}\" if u.params else \"\")` — so the `;` is lost exactly when params is empty, and `_resolve_dot_segments` then treats the rejoined `/..` / `/.` / `/%2e` as a dot segment. The comment at app.py:816-820 documents the rejoin intent (\"a trailing `..;foo` is data, not a double-dot segment\") but the empty-params arm defeats it. The existing tests at app.py:979-980 / the test suite cover only `..;foo` spellings.\n- `_url_with_encoded_components` (app.py:~942) has the same loss independently: it rebuilds from `u.path` + `u.params`, so even a correctly normalized `/..;` would come back as `/..`.\n\n## Why it matters\n\nThe URL `validate_crawl_url` returns is the URL the fetcher fetches. A target whose last segment is `..;` / `.;` (a legitimate, if unusual, path spelling) is fetched by the container at the collapsed path — a different resource than the Worker fetches and than was judged — the same returned-form divergence class as #633/#639, in the one params arm those fixes missed.\n\n## Acceptance criteria\n\n- `validate_crawl_url` returns the WHATWG form for the table above (segments `..;`, `.;`, `%2e;`, `%2e%2e;` preserved verbatim, including before `?`/`#`).\n- The fix covers both rebuild sites (`_normalize_validated_url` and `_url_with_encoded_components`); one clean way is to take the full path (including the `;params` tail) from `urlsplit`, which never splits params, instead of rejoining `urlparse`'s split.\n- New regression tests in `pkgs/lab-ops-hub/test/test_container_validate.py` pin the bare-`;` spellings alongside the existing `..;foo` controls; existing suite stays green.\n- No change to acceptance/refusal verdicts — returned form only.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-23T06:38:02Z","url":"https://github.com/developing-today/code/issues/655"}

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:38733e76-d3c8-fe72-9791-db1bdc251ac0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE25C:572F9:6D48B8:92808D:6B062CFD
html-safe-nonced9ba8074e78121f74c13e09279185f99b15d172ace03d346040fcb3ded46cef8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjVDOjU3MkY5OjZENDhCODo5MjgwOEQ6NkIwNjJDRkQiLCJ2aXNpdG9yX2lkIjoiNTQyNjMzODI4NDMwMzY5MTAwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3676d56c1b3de2556d9117f83b8d8d069ec0be23fb78715324bb1d173bb02874
hovercard-subject-tagissue:5993185823
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/655/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c99500d791fd71d4da78185a093bf4403f41e85f86a6aff1fc8ecd2240f4ac85/developing-today/code/issues/655
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c99500d791fd71d4da78185a093bf4403f41e85f86a6aff1fc8ecd2240f4ac85/developing-today/code/issues/655
og:image:altSummary The container validator (pkgs/lab-ops-hub/container/app.py) resolves a trailing dot segment followed by a bare semicolon (..;, .;, .;, ..;) as if it were a plain dot segment, and retu...
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/655#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F655
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%2F655
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/655
Reloadhttps://github.com/developing-today/code/issues/655
Reloadhttps://github.com/developing-today/code/issues/655
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/655
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/655
#656https://github.com/developing-today/code/pull/656
lab-ops-hub: container validator resolves a trailing '..;' / '.;' segment as a dot segment — bare-semicolon params tail is lost, returned path differs from the Workerhttps://github.com/developing-today/code/issues/655#top
#656https://github.com/developing-today/code/pull/656
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/655#issue-5993185823
#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/655#event-34025247346
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/655#event-34025584962
style(lab-ops-hub): ruff-format the #655 rebuild sites (treefmt)https://github.com/developing-today/code/commit/e41600204de550f0810403a2312af9be015cc938
#655https://github.com/developing-today/code/issues/655
e416002https://github.com/developing-today/code/commit/e41600204de550f0810403a2312af9be015cc938
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#656https://github.com/developing-today/code/pull/656
on Oct 23, 2026https://github.com/developing-today/code/issues/655#event-34025691024
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/655#event-34025691487
Merge pull request #656 from developing-today/creator/655-bare-semico…https://github.com/developing-today/code/commit/a6639b820b9d4de320b75b4bb1e0b6ecff87db43
#656https://github.com/developing-today/code/pull/656
a6639b8https://github.com/developing-today/code/commit/a6639b820b9d4de320b75b4bb1e0b6ecff87db43
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/655#issuecomment-7124555528
developing.today fleethttps://kaneo.security.cab
PR #656 — fix(lab-ops-hub): keep a bare-semicolon dot-spelled segment in the container validator's returned URL (#655)https://github.com/developing-today/code/pull/656
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/655
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/655
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.