Re: [whatwg/url] Document invariants of percent-encode sets better (PR #896)

@annevk commented on this pull request.



>  
-<p>The <dfn oldids=userinfo-encode-set>userinfo percent-encode set</dfn> is the
-<a>path percent-encode set</a> and U+002F (/), U+003A (:), U+003B (;), U+003D (=), U+0040 (@),
-U+005B ([) to U+005D (]), inclusive, and U+007C (|).
+<p>The <dfn oldids=userinfo-encode-set>userinfo percent-encode set</dfn> is a
+<a>percent-encode set</a> consisting of the <a>path percent-encode set</a> and U+002F (/),
+U+003A (:), U+003B (;), U+003D (=), U+0040 (@), U+005B ([) to U+005D (]), inclusive, and U+007C (|).

I'm going to keep this as-is for now as this is pre-existing and I think it's slightly more consistent. I could see making a new rule though that if a a range is 3 or less, you can't use the range syntax.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/896?email_source=notifications&email_token=ACLYVMM2X2FF7LIAUXMTGB34TO7XVA5CNFSNUABKM5UWIORPF5TWS5BNNB2WEL2QOVWGYUTFOF2WK43UKJSXM2LFO4XTIMBTG4ZDONBVGE22M4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOS6XA4S7OJSXM2LFO5PW433UNFTGSY3BORUW63TTL5RWY2LDNM#discussion_r3015816189
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/pull/896/review/4037274515@github.com>

Received on Tuesday, 31 March 2026 13:11:26 UTC