René's URL Explorer Experiment


Title: lab-ops-hub: judge A-label hosts by their decoded label by dezren39 · Pull Request #584 · developing-today/code · GitHub

Open Graph Title: lab-ops-hub: judge A-label hosts by their decoded label by dezren39 · Pull Request #584 · developing-today/code

X Title: lab-ops-hub: judge A-label hosts by their decoded label by dezren39 · Pull Request #584 · developing-today/code

Description: Fixes #580 Problem PR #575 (closing #574) made the container validator refuse hosts containing an Arabic-Indic digit (U+0660–U+0669) — but only in raw Unicode spelling. The A-label (punycode) spelling is pure ASCII, contains no such codepoint, and the container never punycode-decoded xn-- labels before judging, so the same hosts were certified as ordinary public DNS names while the Worker's validateCrawlUrl rejects them outright: http://xn--9hbcp.xn--8hb.xn--8hb.xn--9hb/ — A-label spelling of ١٢٧.٠.٠.١ (127.0.0.1) http://xn--a-bqc.com/, http://xn--example-h3jjk.com/, http://xn--mnchen-3ya761i.com/ Reproduced on main 59ba8cf1: all spellings accepted by validate_crawl_url, all rejected by Bun's WHATWG new URL (the repo's TS runtime). Solution validate_crawl_url now decodes each xn-- label (_judge_a_label) and judges the decoded form: the label must decode, must not decode to an empty or all-ASCII label, and re-encoding the decoded label must reproduce the spelling exactly (canonical A-label); the decoded label is held to the same forbidden-character policy as the raw form (controls/space, U+0660–U+0669, < > ^ |, the _IDNA_DISALLOWED set); the decoded label must contain no unassigned (Cn) or format (Cf) codepoint and must pass the stdlib IDNA codec's nameprep/bidi checks — this also closes the A-label form of the bidi/unassigned classes tracked for raw hosts in #583 (raw form stays tracked there). Verification New test test_refuses_a_label_spellings_of_arabic_indic_digit_hosts: the 5 issue spellings + trailing-root-dot variant, 4 malformed A-labels (xn--999, xn--a → U+0080, xn--localhost-, xn--), and 4 accepted controls (Devanagari-digit A-label xn--e4bcp.xn--d4b.xn--d4b.xn--e4b, xn--mnchen-3ya, xn--bcher-kva, xn--fsq). Ablation: with only app.py reverted, the new test fails; with the fix, Python suite 33/33 and the TS suite green (npm test). Differential battery vs Bun's WHATWG parser over 25 A-label hosts (issue spellings, controls, malformed labels, bidi/unassigned encodings): 25/25 verdicts agree. Single-repo: the lab-ops-hub validator exists only in this repo. Need help on this PR? Tag @codesmith-bot with what you need.

Open Graph Description: Fixes #580 Problem PR #575 (closing #574) made the container validator refuse hosts containing an Arabic-Indic digit (U+0660–U+0669) — but only in raw Unicode spelling. The A-label (punycode) spell...

X Description: Fixes #580 Problem PR #575 (closing #574) made the container validator refuse hosts containing an Arabic-Indic digit (U+0660–U+0669) — but only in raw Unicode spelling. The A-label (punycode) spell...

Opengraph URL: https://github.com/developing-today/code/pull/584

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d0908643-464b-3880-8c92-06600befe23b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B38:D0B9B:8E66C5:BED007:6B063936
html-safe-nonce168b7f702019f7442d76629522f6fe1b7b8a5cc23c4e68cb03db655a2867518f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjM4OkQwQjlCOjhFNjZDNTpCRUQwMDc6NkIwNjM5MzYiLCJ2aXNpdG9yX2lkIjoiNjkyOTE4MDI4MzU3MzI1NDQ1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd8cf0ab71bf6bb1291618526f097ba1047b8df0c2aebf907ee6527cfb8cf00ff
hovercard-subject-tagpull_request:4967099823
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/developing-today/code/pull/584/files
twitter:imagehttps://avatars.githubusercontent.com/u/11225574?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/11225574?s=400&v=4
og:image:altFixes #580 Problem PR #575 (closing #574) made the container validator refuse hosts containing an Arabic-Indic digit (U+0660–U+0669) — but only in raw Unicode spelling. The A-label (punycode) spell...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonedcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/developing-today/code/pull/584/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fpull%2F584%2Ffiles
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%2Fpull%2F584%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/pull/584/files
Reloadhttps://github.com/developing-today/code/pull/584/files
Reloadhttps://github.com/developing-today/code/pull/584/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fdeveloping-today%2Fcode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdeveloping-today%2Fcode%2Fissues%2Fnew%2Fchoose
dezren39https://github.com/dezren39
mainhttps://github.com/developing-today/code/tree/main
sweep/580-alabel-decoded-judginghttps://github.com/developing-today/code/tree/sweep/580-alabel-decoded-judging
Conversation 6 https://github.com/developing-today/code/pull/584
Commits 1 https://github.com/developing-today/code/pull/584/commits
Checks 4 https://github.com/developing-today/code/pull/584/checks
Files changed https://github.com/developing-today/code/pull/584/files
Please reload this pagehttps://github.com/developing-today/code/pull/584/files
lab-ops-hub: judge A-label hosts by their decoded label https://github.com/developing-today/code/pull/584/files#top
Show all changes 1 commit https://github.com/developing-today/code/pull/584/files
24566d9 lab-ops-hub: judge A-label hosts by their decoded label Oct 22, 2026 https://github.com/developing-today/code/pull/584/commits/24566d9f8dbbad7b5ab926145eef3c27dff68219
Clear filters https://github.com/developing-today/code/pull/584/files
Please reload this pagehttps://github.com/developing-today/code/pull/584/files
Please reload this pagehttps://github.com/developing-today/code/pull/584/files
app.py https://github.com/developing-today/code/pull/584/files#diff-7e36da59178c0f3782c4c8563677c22902ad4e72938742495455c3d778f20361
test_container_validate.py https://github.com/developing-today/code/pull/584/files#diff-a4e51f0c429047ab2d4d87a7a1d445f2385af6afeb356766cb44951115d5c2ad
pkgs/lab-ops-hub/container/app.pyhttps://github.com/developing-today/code/pull/584/files#diff-7e36da59178c0f3782c4c8563677c22902ad4e72938742495455c3d778f20361
View file https://github.com/developing-today/code/blob/24566d9f8dbbad7b5ab926145eef3c27dff68219/pkgs/lab-ops-hub/container/app.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/developing-today/code/pull/584/{{ revealButtonHref }}
https://github.com/developing-today/code/pull/584/files#diff-7e36da59178c0f3782c4c8563677c22902ad4e72938742495455c3d778f20361
https://github.com/developing-today/code/pull/584/files#diff-7e36da59178c0f3782c4c8563677c22902ad4e72938742495455c3d778f20361
https://github.com/developing-today/code/pull/584/files#diff-7e36da59178c0f3782c4c8563677c22902ad4e72938742495455c3d778f20361
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 22, 2026https://github.com/developing-today/code/pull/584/files#r4348188519
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/0854bfc38139c0d2b58a9d5d71f5ad92840cf0c17144621e462b474041793354/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50322d79656c6c6f773f7374796c653d666c6174
Please reload this pagehttps://github.com/developing-today/code/pull/584/files
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 22, 2026https://github.com/developing-today/code/pull/584/files#r4348188540
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/0854bfc38139c0d2b58a9d5d71f5ad92840cf0c17144621e462b474041793354/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50322d79656c6c6f773f7374796c653d666c6174
Please reload this pagehttps://github.com/developing-today/code/pull/584/files
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 22, 2026https://github.com/developing-today/code/pull/584/files#r4348188563
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/0854bfc38139c0d2b58a9d5d71f5ad92840cf0c17144621e462b474041793354/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50322d79656c6c6f773f7374796c653d666c6174
Please reload this pagehttps://github.com/developing-today/code/pull/584/files
https://github.com/developing-today/code/pull/584/files#diff-7e36da59178c0f3782c4c8563677c22902ad4e72938742495455c3d778f20361
pkgs/lab-ops-hub/test/test_container_validate.pyhttps://github.com/developing-today/code/pull/584/files#diff-a4e51f0c429047ab2d4d87a7a1d445f2385af6afeb356766cb44951115d5c2ad
View file https://github.com/developing-today/code/blob/24566d9f8dbbad7b5ab926145eef3c27dff68219/pkgs/lab-ops-hub/test/test_container_validate.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/developing-today/code/pull/584/{{ revealButtonHref }}
https://github.com/developing-today/code/pull/584/files#diff-a4e51f0c429047ab2d4d87a7a1d445f2385af6afeb356766cb44951115d5c2ad
https://github.com/developing-today/code/pull/584/files#diff-a4e51f0c429047ab2d4d87a7a1d445f2385af6afeb356766cb44951115d5c2ad
Please reload this pagehttps://github.com/developing-today/code/pull/584/files
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-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.