- From: James C. Wise <notifications@github.com>
- Date: Sun, 17 May 2026 21:33:53 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 18 May 2026 04:33:58 UTC
Scripter17 created an issue (whatwg/url#908) ### What is the issue with the URL Standard? 1. The [opaque host](https://url.spec.whatwg.org/#opaque-host) definition says "An opaque host is a **non-empty** [ASCII string](https://infra.spec.whatwg.org/#ascii-string) that can be used for further processing." (emphasis mine). 2. The [opaque host parser](https://url.spec.whatwg.org/#concept-opaque-host-parser) currently does nothing to change or reject the empty string, thus returning the empty opaque host. I think changing the "non-empty" in the opaque host's definition to "possibly empty" is backwards compatible? Any code using the official parser already can't assume opaque hosts are never empty. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/908 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/908@github.com>
Received on Monday, 18 May 2026 04:33:58 UTC