[whatwg/url] "Forbidden host code point" should be defined without U+0025 (#319)

The term "forbidden host code point" is used exactly twice within this spec, and in one case it excludes U+0025 (%):

> If asciiDomain contains a forbidden host code point, validation error, return failure.

> If input contains a forbidden host code point excluding U+0025 (%), validation error, return failure.

I think it is easier for implementations to add to a definition rather than take away from it, so I propose removing U+0025 from the definition and special-casing it where it is _included_:

> If asciiDomain contains a forbidden host code point or U+0025 (%), validation error, return failure.

> If input contains a forbidden host code point, validation error, return failure.

Or else creating a second definition that relates to the existing one.

-- 
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/319

Received on Saturday, 3 June 2017 06:30:48 UTC