From 6c66d6c84b4058efcd9df326bbb081decc785854 Mon Sep 17 00:00:00 2001 From: Karl <5254025+karwa@users.noreply.github.com> Date: Wed, 3 Mar 2021 15:04:04 +0100 Subject: [PATCH] Clarify component percent-encode set is good for opaque hosts --- url.bs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/url.bs b/url.bs index b66b45af..0b334594 100644 --- a/url.bs +++ b/url.bs @@ -205,7 +205,7 @@ U+0024 ($) to U+0026 (&), inclusive, U+002B (+), and U+002C (,).

This is used by HTML for {{NavigatorContentUtils/registerProtocolHandler()}}, and could also be used by other standards to percent-encode data that can then be embedded in a URL's path, -query, or fragment. Using it with +query, or fragment; or in an opaque host. Using it with UTF-8 percent-encode gives identical results to JavaScript's encodeURIComponent() [sic]. [[HTML]] [[ECMA-262]] @@ -3439,6 +3439,7 @@ Jeffrey Yasskin, Joe Duarte, Joshua Bell, Jxck, +Karl Wagner, 田村健人 (Kent TAMURA), Kevin Grandon, Kornel Lesiński,