René's URL Explorer Experiment


Title: lab-ops-hub: container validator keeps the password colon when the password is empty (user:@ / :@) — returned URL differs from the Worker · Issue #651 · developing-today/code · GitHub

Open Graph Title: lab-ops-hub: container validator keeps the password colon when the password is empty (user:@ / :@) — returned URL differs from the Worker · Issue #651 · developing-today/code

X Title: lab-ops-hub: container validator keeps the password colon when the password is empty (user:@ / :@) — returned URL differs from the Worker · Issue #651 · developing-today/code

Description: Problem The container validator (pkgs/lab-ops-hub/container/app.py, validate_crawl_url) returns a URL whose userinfo keeps the password colon when the password is empty, while the Worker validator (pkgs/lab-ops-hub/src/lib.ts, WHATWG URL...

Open Graph Description: Problem The container validator (pkgs/lab-ops-hub/container/app.py, validate_crawl_url) returns a URL whose userinfo keeps the password colon when the password is empty, while the Worker validator ...

X Description: Problem The container validator (pkgs/lab-ops-hub/container/app.py, validate_crawl_url) returns a URL whose userinfo keeps the password colon when the password is empty, while the Worker validator ...

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

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 keeps the password colon when the password is empty (user:@ / :@) — returned URL differs from the Worker","articleBody":"## Problem\n\nThe container validator (`pkgs/lab-ops-hub/container/app.py`, `validate_crawl_url`) returns a URL whose userinfo keeps the password colon when the password is empty, while the Worker validator (`pkgs/lab-ops-hub/src/lib.ts`, WHATWG `URL`) serialises that colon away:\n\n| Input | Container returns | Worker returns |\n|---|---|---|\n| `http://user:@example.com/` | `http://user:@example.com/` | `http://user@example.com/` |\n| `http://:@example.com/` | `http://:@example.com/` | `http://example.com/` |\n| `http://:@example.com:80/` | `http://:@example.com/` | `http://example.com/` |\n\nVerified this run on main `93065f0d` by driving both real validators over a 357-URL differential matrix plus a focused 23-URL probe; these were the only userinfo divergences. Controls that already agree and must not change: `http://:pass@example.com/` (kept), `http://::@example.com/` -> `http://:%3A@example.com/` (the colon is password *data*), `http://user::@example.com/` -> `http://user:%3A@example.com/`, `http://user:pass@example.com/` (kept), and the bare empty userinfo `http://@example.com/` (already dropped, #639).\n\n## Root cause\n\nWHATWG serialises userinfo from the parsed username/password: the `:` separator is emitted only when the password is non-empty, and the whole `@` is dropped when both are empty. The container instead round-trips the raw userinfo string:\n\n- `_encode_userinfo` (app.py ~line 895) re-adds `\":\"` whenever a separator was present in the raw spelling (`if sep:`), regardless of whether the password is empty.\n- `_url_with_encoded_components` (app.py ~line 909) decides whether to keep the `@` on the *raw* userinfo's truthiness (`if userinfo`), so `\":\"` — a non-empty string with two empty components — survives as `:@` even once the encoded form is empty.\n- `_normalize_validated_url` has the same raw-truthiness shape, though the final encoded-components rebuild is what reaches the caller.\n\n#639 fixed exactly this class for the *empty userinfo* spelling (`@` with nothing before it) but missed the colon-bearing spellings, because `:` and `user:` are non-empty strings.\n\n## Why it matters\n\nThe URL `validate_crawl_url` returns is the URL that is recorded and fetched (the module's standing #633/#639 contract: both crawlers record — and fetch — the same URL for the same target). Fetch *behaviour* already agrees — `_split_userinfo` (app.py ~line 979) treats `:@` as carrying no credentials and `user:@` exactly as `user@` — so this is a returned-form divergence only: the same crawl target is recorded under two different URL strings depending on which crawler ran, defeating dedup/logging comparisons between the container and Worker paths.\n\n## Acceptance criteria\n\n- `validate_crawl_url(\"http://user:@example.com/\")` returns `http://user@example.com/` and `validate_crawl_url(\"http://:@example.com/\")` returns `http://example.com/`, matching the Worker byte for byte (including with a default/non-default port present).\n- The controls above are unchanged: `:pass@`, `::@` -> `:%3A@`, `user::@` -> `user:%3A@`, `user:pass@`, and bare `@`.\n- New cases in `pkgs/lab-ops-hub/test/test_container_validate.py` pin the returned form for the empty-password spellings (the existing tests assert acceptance only); Python suite and the TS suite (`test/lib.test.ts`) pass.\n- A differential run of both validators over userinfo spellings shows no remaining userinfo divergences.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-23T06:15:54Z","url":"https://github.com/developing-today/code/issues/651"}

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:63242210-2bd1-939e-052c-c610d1ed02f7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAED0:7F906:AE475C:E11700:6B063941
html-safe-nonce7a4237816e0dfb98ff86f213f975bb378378dcf8e6f137dae81d977835853994
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUQwOjdGOTA2OkFFNDc1QzpFMTE3MDA6NkIwNjM5NDEiLCJ2aXNpdG9yX2lkIjoiNjQ4MTkxODYxMTQ1OTI5MTQ1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2e8aea316c101738d6e624b7cfefdd5aa1a2ae480e4fada59618d2726759b5ab
hovercard-subject-tagissue:5992942481
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/651/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c99500d791fd71d4da78185a093bf4403f41e85f86a6aff1fc8ecd2240f4ac85/developing-today/code/issues/651
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c99500d791fd71d4da78185a093bf4403f41e85f86a6aff1fc8ecd2240f4ac85/developing-today/code/issues/651
og:image:altProblem The container validator (pkgs/lab-ops-hub/container/app.py, validate_crawl_url) returns a URL whose userinfo keeps the password colon when the password is empty, while the Worker validator ...
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/651#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F651
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%2F651
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/651
Reloadhttps://github.com/developing-today/code/issues/651
Reloadhttps://github.com/developing-today/code/issues/651
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 requests159 (159)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/651
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/651
#653https://github.com/developing-today/code/pull/653
lab-ops-hub: container validator keeps the password colon when the password is empty (user:@ / :@) — returned URL differs from the Workerhttps://github.com/developing-today/code/issues/651#top
#653https://github.com/developing-today/code/pull/653
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/651#issue-5992942481
#639https://github.com/developing-today/code/issues/639
#639https://github.com/developing-today/code/issues/639
#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/651#event-34023930286
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#653https://github.com/developing-today/code/pull/653
on Oct 23, 2026https://github.com/developing-today/code/issues/651#event-34024222868
dezren39https://github.com/dezren39
on Oct 23, 2026https://github.com/developing-today/code/issues/651#event-34024223067
Merge pull request #653 from developing-today/creator/651-empty-passw…https://github.com/developing-today/code/commit/3ac2e9ee11b89949bdff64dd3fd0ab5d043d804c
#653https://github.com/developing-today/code/pull/653
3ac2e9ehttps://github.com/developing-today/code/commit/3ac2e9ee11b89949bdff64dd3fd0ab5d043d804c
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/651#issuecomment-7124555465
developing.today fleethttps://kaneo.security.cab
PR #653 — fix(lab-ops-hub): drop the password colon when the password is empty in the returned URL (#651)https://github.com/developing-today/code/pull/653
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/651
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/651
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.