From f6e66f296cac742c81557bd2dba782c38da9e8d7 Mon Sep 17 00:00:00 2001 From: Tab Atkins-Bittner Date: Mon, 6 Nov 2023 12:21:04 -0800 Subject: [PATCH 1/2] Rephrase encoding note to make the implications clearer. --- url.bs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/url.bs b/url.bs index 81f7c7d8..3ccf941e 100644 --- a/url.bs +++ b/url.bs @@ -2038,8 +2038,9 @@ and code points in the range U+00A0 to U+10FFFD, inclusive, excluding -

Code points greater than U+007F DELETE will be converted to -percent-encoded bytes by the URL parser. +

For historical reasons, rather than storing codepoints and [=percent-encoding=] to +ASCII for serialization, URLs instead store their value as ASCII internally, eagerly converting +code points greater than U+007F DELETE to [=percent-encoded bytes=] during [=URL parser|parsing=].

In HTML, when the document encoding is a legacy encoding, code points in the URL-query string that are higher than U+007F DELETE will be converted to From a81fcda3f22410120eaba047b3c651ae2c8cc152 Mon Sep 17 00:00:00 2001 From: Tab Atkins-Bittner Date: Mon, 6 Nov 2023 12:30:15 -0800 Subject: [PATCH 2/2] Fix linking error --- url.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/url.bs b/url.bs index 3ccf941e..03cbf1ad 100644 --- a/url.bs +++ b/url.bs @@ -2038,8 +2038,8 @@ and code points in the range U+00A0 to U+10FFFD, inclusive, excluding -

For historical reasons, rather than storing codepoints and [=percent-encoding=] to -ASCII for serialization, URLs instead store their value as ASCII internally, eagerly converting +

For historical reasons, rather than storing codepoints and [=byte/percent-encoding=] +to ASCII for serialization, URLs instead store their value as ASCII internally, eagerly converting code points greater than U+007F DELETE to [=percent-encoded bytes=] during [=URL parser|parsing=].

In HTML, when the document encoding is a legacy encoding, code points in the