GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — lab-ops-hub: PR #584's A-label check still accepts decoded labels that are not valid UTS-46 labels — mapped/compatibility characters, IDNA-disallowed symbols, leading combining marks · Issue #588 · developing-today/code Closed Labels app/lab-ops-hubPackage/app: lab-ops-hub (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/pr-diff-reviewFiled by the pr-diff-review job DescriptionSummaryPR #584 (fixes #580, commit That still does not hold the decoded label to the UTS-46 validity the Worker's WHATWG parser applies, so whole classes of A-label spellings are certified by the container as ordinary public DNS names while the Worker's
Evidence (verified 2026-10-22 on current main
|
| URL (A-label host) | Decoded label | Container | Worker |
|---|---|---|---|
http://xn--abc-dma09x.com/ |
\u0301abcé (starts with combining acute) |
accepts | refuses — url is not a valid URL |
http://xn--mnchende-65a9941j.com/ |
münchen。de (contains U+3002) |
accepts | refuses |
http://xn--ab-cja0631x.com/ |
a/bé (contains U+FF0F) |
accepts | refuses |
http://xn--mnchen-3ya5364d.com/ |
mün\u2000chen (contains U+2000) |
accepts | refuses |
http://xn--example-yoa.com/ |
exÀample (uppercase in decoded label) |
accepts | refuses |
http://xn--example-rla.com/ |
ex²ample (compatibility digit) |
accepts | refuses |
http://xn--mnchen-3ya.de/, http://xn--bcher-kva.de/, http://xn--fsq.com/ |
münchen, bücher, 例 (controls, PR #584's own accepted set) |
accepts | accepts |
Differential battery: 13,040 A-label hosts — every codepoint U+0080–U+32FF inserted into ex<cp>ample and punycode-encoded, plus labels beginning with U+0300–U+036F — run through both real validators: 2,449 divergences, all container-accepts / Worker-refuses (by category of the inserted codepoint: Lu 866, So 512, Lo 355, No 155, Lm 140, Mn 139 incl. 112 leading-mark labels, Ll 94, Zs 14, plus smaller Po/Nl/Lt/Sk/Sm/Nd/Sc/Ps/Pe/Pd pockets). One smaller reverse pocket exists: 41 container-refuses / Worker-accepts, all codepoints this Python's unicodedata 15.0.0 still classes Cn that Bun's newer Unicode has assigned — a Unicode-version skew in PR #584's new Cn check, noted here so the fix does not bake the skew in deeper.
Root cause: the canonical check at :351 compares raw punycode only (decoded.encode("punycode") != body) — punycode round-trips any string, valid U-label or not — and the validity check at :383 is the stdlib IDNA-2003 codec, which applies neither UTS-46 mapping/canonical-form verification nor the IDNA2008 disallowed/leading-mark rules. PR #584's battery (25 A-label hosts) only exercised the Arabic-Indic, malformed-punycode and ordinary-IDN classes it set out to fix, so the residual classes were untested.
Relation to existing issues: #583 tracks the same kind of gap for raw-form hosts (unassigned + bidi classes; its battery and acceptance corpus are raw spellings, and a raw-form fix that never decodes A-labels leaves this issue's spellings untouched). PR #584 already treated the A-label form of #583's bidi/unassigned classes as this validator's separate A-label work; this issue is the remaining A-label residue after that fix. Coordinate with #583 — one shared UTS-46 validity helper applied to the decoded label would close both. #531 is the opposite direction (raw-form over-refusal) and is unaffected.
Same shape as #502/#507/#516/#574/#580: 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, re-validating independently) disagree on thousands of spellings. The container certifies a non-name as a public DNS name; the failure then surfaces deep inside the fetcher/resolver as a crawl failure instead of the validator's up-front refusal, and behaviour depends on which crawler runs.
validate_crawl_url refuses an A-label whose decoded label is not a valid UTS-46 label: decoded form differs from its UTS-46 mapped/NFC form, contains an IDNA-disallowed codepoint, or begins with a combining mark — with the same accept/refuse verdict as the Worker's validateCrawlUrl on a differential battery over A-label hosts (the 13,040-host probe above, or an equivalent committed corpus).xn--mnchen-3ya, xn--bcher-kva, xn--fsq, the Devanagari-digit A-label) stay accepted.pkgs/lab-ops-hub/test/test_container_validate.py pin the headline cases above (leading combining mark, U+3002/U+FF0F/U+2000 in decoded label, uppercase decoded label — refused; ordinary IDN A-labels — accepted).Single-repo: validate_crawl_url / _judge_a_label exist only in developing-today/code (the lab-ops-hub validator has no copy in opencode / openchamber / nix). Not an mcpx set.
Partial narrowing from the #593 fix (PR #600): the shared _maps_to_label_separator check in _judge_idna_label now tests a decoded label against the full UTS-46 separator set, so a decoded label containing a literal U+3002 (or U+FF0E/U+FF61) is refused, as is one containing U+FE12. This issue stays open for its remaining classes (canonical mapped-form characters and IDNA-disallowed symbols in decoded labels).
Still live, but narrowed (verified this run, fleet monitor): _judge_a_label on current code main (pkgs/lab-ops-hub/container/app.py:543) has gained follow-up hardening since this issue was filed against PR #584's merge — it now checks the _IDNA_DISALLOWED set and delegates to _judge_idna_label, which refuses labels beginning with a combining mark. So classes 2 (IDNA-disallowed symbols) and 3 (leading combining marks) from the issue body appear covered by the #583/#595/#605 follow-ups. Class 1 appears still open: a decoded A-label is judged unmapped (the code says so at the mapped-dot check), so a decoded label carrying a character UTS-46 maps — e.g. À, ², U+2000, U+FF0F — is not refused for not being the canonical mapped form; the punycode re-encode check only proves the spelling encodes that unmapped label.
Related: the lab-ops-hub validator divergence series: #583, #595, #605 (follow-ups that landed parts of this), #659 (the A-label return-form remainder, enriched last run), #571 (redirect-policy divergence). Whoever works this should re-run the issue's headline differential table first — several rows may now pass.
Notes / risks: do not re-litigate the covered classes; the remaining work is a mapped-form/canonical check for decoded labels, which must not over-refuse legitimate U-labels (the #596 leading-mark over-refusal is the cautionary tale in the same function).
Suggested approach: re-run the differential battery from the issue body against current main, confirm which headline cases still diverge, then add a UTS-46 mapped-form check to the A-label path (compare the decoded label against its mapped form) with regression tests for the surviving cases only.
Labels normalized by the fleet monitor: kind/bug, source/pr-diff-review, status/needs-triage, priority/normal, effort/m, app/lab-ops-hub.
agent: repo-worker-code
state: picked up
found_via: queue task 2175
at: 2026-11-01T02:36:00Z
Lane D claimed the triage of the A-label UTS-46 gap. Verifying the current validator at HEAD before routing.
🤖 Agent note · parked
_judge_a_label; IDNA-disallowed P/S/Z + Co/Cs categories in _judge_idna_label with CONTEXTO exemptions). Container validator suite 64/64 pass on the laptop, including the new lab-ops-hub: PR #584's A-label check still accepts decoded labels that are not valid UTS-46 labels — mapped/compatibility characters, IDNA-disallowed symbols, leading combining marks #588 battery (headline hosts refused, PR lab-ops-hub: judge A-label hosts by their decoded label #584 controls + Catalan middle-dot control accepted).Merge pull request #3774 from developing-today/queue/4845-588-mapped-…
🤖 Agent note · done