[whatwg/url] "For each code point in input, UTF-8 percent enc..." (#368)

https://url.spec.whatwg.org/commit-snapshots/5fc4c4c17f3077beda5e3647df73f4b1b0ba7084/#host-parsing

> For each code point in input, UTF\-8 percent encode it using the C0 control percent\-encode set, and append the result to output\.

Why are we percent-*encoding* during the host *parsing* algorithm?  Maybe I'm misunderstanding something but I think this should be percent-*decoding*.

-- 
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/issues/368

Received on Wednesday, 17 January 2018 05:51:03 UTC