diff --git a/url.bs b/url.bs index 35434bb7..cdb859e6 100644 --- a/url.bs +++ b/url.bs @@ -1817,9 +1817,12 @@ optionally with an encoding
  • If c is "%" and remaining does not start with two ASCII hex digits, syntax violation. -

  • utf-8 percent encode c using the - default encode set, and append the result to - buffer. +

  • If c is "%" and remaining, ASCII lowercased starts + with "2e", append "." to buffer and increase + pointer by two. + +

  • Otherwise, utf-8 percent encode c using the default encode set, + and append the result to buffer. diff --git a/url.html b/url.html index 7adf5a4a..ee00adf5 100644 --- a/url.html +++ b/url.html @@ -11,7 +11,7 @@

    URL

    -

    Living Standard — Last Updated

    +

    Living Standard — Last Updated

    Participate: @@ -1328,7 +1328,11 @@

    c is "%" and remaining does not start with two ASCII hex digits, syntax violation.

  • -

    utf-8 percent encode c using the default encode set, and append the result to buffer.

    +

    If c is "%" and remaining, ASCII lowercased starts + with "2e", append "." to buffer and increase pointer by two.

    +
  • +

    Otherwise, utf-8 percent encode c using the default encode set, + and append the result to buffer.

    non-relative path state @@ -2103,7 +2107,6 @@

    ASCII lowercase, in §1
  • ASCII string, in §1
  • authority state, in §4.2 -
  • base, in §6
  • base URL, in §4
  • basic URL parser, in §4.2
  • c, in §1.1 @@ -2117,8 +2120,6 @@

  • dfn for host, in §3
  • dfn for hostsyntax, in §3.2 -
  • argument for URL/domainToASCII(domain), in §6 -
  • argument for URL/domainToUnicode(domain), in §6
  • domain to ASCII, in §3.1
  • domainToASCII(domain), in §6.2 @@ -2161,7 +2162,6 @@

    host state, in §4.2
  • href, in §6.3
  • include credentials, in §4 -
  • init, in §6.4
  • IPv4 address -
  • - url - +
  • url, in §6
  • URL code points, in §4.1
  • urlencoded byte serializer, in §5.2
  • urlencoded parser, in §5.1 @@ -2318,12 +2303,6 @@

  • utf-8 percent encode, in §1.2
  • valid domain, in §3.2 -
  • - value -
  • Windows drive letter, in §1

    Terms defined by reference