Re: [whatwg/url] [Editorial] Guarantee that strings encoded with the component encode-set are valid opaque host strings. (#584)

I see. Thinking about it some more, the note only says that a string encoded with the component set _can_ be embedded in a query string - and it still can. I don't think having an unencoded `'` in the query of a special URL leads to any ambiguities. And in general strings encoded via the component set and embedded will look different to what the parser would give, because the component set conservatively encodes more than the parser does. Maybe it isn't worth calling that out.

But I'd still like to add the mention about opaque host strings if that's agreeable (which just makes a part of the status quo explicit - NFC), because these definitions of allowed/disallowed code points have changed in the past.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/584#issuecomment-785308015

Received on Wednesday, 24 February 2021 19:11:11 UTC