- From: Alwin Blok <notifications@github.com>
- Date: Fri, 14 Feb 2025 23:11:20 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 15 February 2025 07:11:25 UTC
alwinb left a comment (whatwg/url#852) My suggestion is to include a table similar to the one attached; for describing all the percent encode sets, as well as error correction and validation for all individual code points in percent-encoded components. Key: - v: valid - E: (Escape) valid but nonetheless percent encoded - T: (Tolerte) invalid, but nonetheless left untouched by the parser -- resulting in an invalid URL as output - F: (Fixed) invalid and fixed by parser (and setters) by percent encoding the occurrence - R: (Reject) Invalid and causing a hard error, won't end up in output URLs. The apostrophe in the query is special cased for 'non-special' URLs where it is left untouched (ie. v:valid) 'Other control' here includes unicode non-chars and surrogates. I do hope the table is fully up to date, I have not checked if there have been any recent changes. <img width="603" alt="Image" src="https://github.com/user-attachments/assets/c6576764-2954-4050-b993-0266e5162302" /> -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/852#issuecomment-2660784333 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/852/2660784333@github.com>
Received on Saturday, 15 February 2025 07:11:25 UTC