René's URL Explorer Experiment


Title: lab-ops-hub: PR #590's bidi check has no AN rule — Hanifi Rohingya and Rumi digits (41 astral AN codepoints) are certified in Latin labels the Worker refuses · Issue #595 · developing-today/code · GitHub

Open Graph Title: lab-ops-hub: PR #590's bidi check has no AN rule — Hanifi Rohingya and Rumi digits (41 astral AN codepoints) are certified in Latin labels the Worker refuses · Issue #595 · developing-today/code

X Title: lab-ops-hub: PR #590's bidi check has no AN rule — Hanifi Rohingya and Rumi digits (41 astral AN codepoints) are certified in Latin labels the Worker refuses · Issue #595 · developing-today/code

Description: Summary PR #590 (fixes #583, commit 6bad7e15, merged as ead788e1) added _judge_idna_label to the container crawl validator (pkgs/lab-ops-hub/container/app.py, current main ead788e1) to judge every non-ASCII label for IDNA/UTS-46 validity...

Open Graph Description: Summary PR #590 (fixes #583, commit 6bad7e15, merged as ead788e1) added _judge_idna_label to the container crawl validator (pkgs/lab-ops-hub/container/app.py, current main ead788e1) to judge every ...

X Description: Summary PR #590 (fixes #583, commit 6bad7e15, merged as ead788e1) added _judge_idna_label to the container crawl validator (pkgs/lab-ops-hub/container/app.py, current main ead788e1) to judge every ...

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

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: PR #590's bidi check has no AN rule — Hanifi Rohingya and Rumi digits (41 astral AN codepoints) are certified in Latin labels the Worker refuses","articleBody":"## Summary\n\nPR #590 (fixes #583, commit `6bad7e15`, merged as `ead788e1`) added `_judge_idna_label` to the container crawl validator (`pkgs/lab-ops-hub/container/app.py`, current main `ead788e1`) to judge every non-ASCII label for IDNA/UTS-46 validity, including an explicit RFC 5893 bidi check. That check treats only bidi classes `R`/`AL` as right-to-left and has **no rule for bidi class `AN` (Arabic Number) at all** — beyond the pre-existing special case for the two BMP separators U+066B/U+066C in LTR labels (app.py, `_judge_idna_label`). Every BMP `AN` codepoint happens to be caught by another arm (the Cf check for U+0600–U+0605/U+06DD/U+0890/U+0891/U+08E2, the U+0660–U+0669 forbidden range from #574, the U+066B/U+066C case), so the gap is invisible in the BMP — but **all 41 astral `AN` codepoints pass**: the Hanifi Rohingya digits U+10D30–U+10D39 and the Rumi digits/numbers/fractions U+10E60–U+10E7E. In an LTR or neutral label the Worker's WHATWG domain-to-ASCII refuses them (an `AN` character is only valid inside an RTL label); the container certifies them as public DNS names.\n\nNeither #583's battery nor PR #590's could see this: both inserted only codepoints U+0080–U+32FF, and every astral codepoint sits above that range.\n\n## Evidence (verified 2026-10-22 on current main `ead788e1`, the merge commit of PR #590 itself)\n\nPython `validate_crawl_url` imported from `container/app.py` at main vs the Worker's `validateCrawlUrl` from `src/lib.ts` under Bun; the raw-form rows were additionally cross-checked with Node's `new URL`, which agrees with Bun on every raw case:\n\n| URL | Container | Worker |\n|---|---|---|\n| `http://ex\\U00010D30ample.com/` (Hanifi Rohingya digit in a Latin label) | **accepts** | refuses — `url is not a valid URL` |\n| `http://ex\\U00010E60ample.com/` (Rumi digit in a Latin label) | **accepts** | refuses |\n| `http://\\U00010D30abc.com/`, `http://abc\\U00010D30.com/`, `http://münchen\\U00010D30.de/` | **accepts** | refuses |\n| `http://\\U00010D30.com/` (digit alone), `http://1\\U00010D30.com/`, `http://-\\U00010D30.com/` | **accepts** | refuses |\n| `http://xn--example-eh36b.com/` (A-label spelling of the first row) | **accepts** | refuses under Bun (Node's URL parser accepts this A-label spelling — engine-dependent, secondary) |\n| Controls: `http://א\\U00010D30א.com/`, `http://ا\\U00010D30ا.com/`, `http://\\U00010D00\\U00010D30.com/` (digit in Hebrew / Arabic / its own Rohingya RTL label) | accepts | accepts |\n\nDifferential battery: every codepoint U+10000–U+10FFFF inserted into `ex\u003ccp>ample.com` (1,048,576 hosts) through both real validators — the container-accept / Worker-refuse pocket in the astral range is exactly these 41 `AN` codepoints (plus the U+FE12 separator case filed as #593). An exhaustive `unicodedata` scan confirms there are 63 `AN` codepoints in total; the other 22 are all BMP and all refused by the container today. Why the codec backstop does not catch them: `\"ex\\U00010D30ample\".encode(\"idna\")` succeeds — or, where the IDNA-2003 codec raises a bidi error, PR #590's re-judge treats `AN` as neither RTL nor a violation (its trailing rule only checks the last non-NSM class against R/AL/AN/EN for RTL labels and L/EN for LTR labels, and `AN` mid-label is never examined).\n\n## Why it matters\n\nSame shape as #583/#574: the two validators that are supposed to hold the same crawl-target policy (#441 defence in depth — the container is the component that actually fetches) disagree, here on a whole bidi class that PR #590's explicit directionality check was written to cover. The Rohingya/Rumi digits are live scripts' digits, not unassigned codepoints, so this is not Unicode-version skew — both validators' tables contain them.\n\n## Acceptance criteria\n\n- `_judge_idna_label` refuses a label containing an `AN` character unless the label is a valid RTL label under the same rules the Worker applies — at minimum: AN in any label with a strong LTR character is refused, and AN in a label with no R/AL character is refused; the probed RTL controls above (Hebrew/Arabic/Rohingya contexts) stay accepted, matching the Worker.\n- All 41 codepoints U+10D30–U+10D39 and U+10E60–U+10E7E are refused in a Latin label, in raw and (under the repo's Bun differential) A-label form; the existing U+066B/U+066C-in-LTR behaviour is subsumed or preserved.\n- New tests in `pkgs/lab-ops-hub/test/test_container_validate.py` (and the TS pin in `test/lib.test.ts`) cover a Rohingya digit and a Rumi digit in a Latin label (refused) and in an RTL label (accepted).\n- No regression in the existing Python or TS suites.\n\nSingle-repo: `validate_crawl_url` / `_judge_idna_label` exist only in `developing-today/code` (git-grep verified in the opencode / openchamber / nix clones). Not an mcpx set. Deduped: searches for Rohingya / Rumi / 10D30 / 10E60 / \"Arabic number\" return nothing; #574 is closed and scoped to U+0660–U+0669, which stay refused via their own arm; coordinate with #588 for the A-label spelling, whose scope is decoded-label validity classes in general.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-22T15:19:07Z","url":"https://github.com/developing-today/code/issues/595"}

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:e798f73e-eb89-a4f1-6893-0fc8eecfa4a1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA144:1CA0E6:8C8BB1:BC9F03:6B06374B
html-safe-noncef4d9d92dfa4e8bf64e45d640320c6b74992f3a95dd4abe74d82693d979222ba4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTQ0OjFDQTBFNjo4QzhCQjE6QkM5RjAzOjZCMDYzNzRCIiwidmlzaXRvcl9pZCI6IjMxMDgwMDExODUxNjExNjQ2MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac42abe00965f847a36a8d49159f01915dbe66980be9560ea9885470017fc95910
hovercard-subject-tagissue:5982174501
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/595/issue_layout
twitter:imagehttps://opengraph.githubassets.com/578b439d236acb446aeacc3e19c940a6ad12bf662245ed51d851aedd856987a6/developing-today/code/issues/595
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/578b439d236acb446aeacc3e19c940a6ad12bf662245ed51d851aedd856987a6/developing-today/code/issues/595
og:image:altSummary PR #590 (fixes #583, commit 6bad7e15, merged as ead788e1) added _judge_idna_label to the container crawl validator (pkgs/lab-ops-hub/container/app.py, current main ead788e1) to judge every ...
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-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/595#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F595
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%2F595
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/595
Reloadhttps://github.com/developing-today/code/issues/595
Reloadhttps://github.com/developing-today/code/issues/595
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/595
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/595
#604https://github.com/developing-today/code/pull/604
lab-ops-hub: PR #590's bidi check has no AN rule — Hanifi Rohingya and Rumi digits (41 astral AN codepoints) are certified in Latin labels the Worker refuseshttps://github.com/developing-today/code/issues/595#top
#604https://github.com/developing-today/code/pull/604
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 22, 2026https://github.com/developing-today/code/issues/595#issue-5982174501
#590https://github.com/developing-today/code/pull/590
#583https://github.com/developing-today/code/issues/583
#574https://github.com/developing-today/code/issues/574
#583https://github.com/developing-today/code/issues/583
#590https://github.com/developing-today/code/pull/590
#590https://github.com/developing-today/code/pull/590
#593https://github.com/developing-today/code/issues/593
#590https://github.com/developing-today/code/pull/590
#583https://github.com/developing-today/code/issues/583
#574https://github.com/developing-today/code/issues/574
#441https://github.com/developing-today/code/issues/441
#590https://github.com/developing-today/code/pull/590
#574https://github.com/developing-today/code/issues/574
#588https://github.com/developing-today/code/issues/588
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 22, 2026https://github.com/developing-today/code/issues/595#event-33964609073
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#604https://github.com/developing-today/code/pull/604
on Oct 22, 2026https://github.com/developing-today/code/issues/595#event-33979399213
dezren39https://github.com/dezren39
on Oct 22, 2026https://github.com/developing-today/code/issues/595#event-33979399630
Merge pull request #604 from developing-today/sweep/595-an-bidi-rulehttps://github.com/developing-today/code/commit/1695ee52e03570b78467e1bb38a7e67353c94013
#604https://github.com/developing-today/code/pull/604
1695ee5https://github.com/developing-today/code/commit/1695ee52e03570b78467e1bb38a7e67353c94013
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/595
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/595
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.