diff --git a/url.bs b/url.bs index 2f475eb..dfca47a 100644 --- a/url.bs +++ b/url.bs @@ -116,16 +116,6 @@ valid input. User agents, especially conformance checkers, are encouraged to rep
If details about Unicode ToASCII errors are recorded, user agents are encouraged to pass those along.
Unicode ToUnicode records an error. [[UTS46]] -
The same considerations as with domain-to-ASCII apply. -
"https://exa%23mple.org
"
Unicode ToUnicode records an error. [[UTS46]] +
The same considerations as with domain-to-ASCII apply. +
The domain to ASCII algorithm, given a string +
The domain to ASCII algorithm, given a string domain and a boolean beStrict, runs these steps:
If result is the empty string, domain-to-ASCII validation error, return failure. +
If beStrict is false and result contains a + forbidden domain code point, domain-invalid-code-point validation error, + return failure. + +
Due to web compatibility and compatibility with non-DNS-based systems the + forbidden domain code points are a subset of those disallowed when UseSTD3ASCIIRules + is true. See also issue #397. + +
Assert: result does not contain a + forbidden domain code point. +
Return result.
If asciiDomain is failure, then return failure. -
If asciiDomain contains a forbidden domain code point, - domain-invalid-code-point validation error, return failure. -
If asciiDomain ends in a number, then return the result of IPv4 parsing asciiDomain.