Re: [whatwg/url] Specify that domains are ASCII strings. (#409)

jyasskin commented on this pull request.



> @@ -393,7 +393,7 @@ consideration in practice.
 
 <h3 id=idna>IDNA</h3>
 
-<p>The <dfn id=concept-domain-to-ascii>domain to ASCII</dfn> algorithm, given a <a>domain</a>

'domain to ASCII' is called from the [host parser](https://url.spec.whatwg.org/#concept-host-parser) in order to create a domain. At that point, its input is just

> The host parser takes a string input
> ...
> Let domain be the result of running UTF-8 decode without BOM on the string percent decoding of input.

So, it's just a string, not a domain yet.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/409#discussion_r208291323

Received on Tuesday, 7 August 2018 16:05:01 UTC