From b55c921ac85ee790959f6468d785e7ce8903af88 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 27 Mar 2020 06:43:34 +0100 Subject: [PATCH] Correct and add to PSL examples The ASCII prefix is xn--, not xn-. Also add an example where the public suffix is null as callers used to forget about it. Closes #471. --- url.bs | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/url.bs b/url.bs index 35f7b10c..e2bb743a 100644 --- a/url.bs +++ b/url.bs @@ -311,7 +311,7 @@ obtain host's registrable domain, run these steps: com com - null + null example.com com @@ -331,23 +331,27 @@ obtain host's registrable domain, run these steps: github.io github.io - null + null whatwg.github.io github.io whatwg.github.io إختبار - xn-kgbechtv - null + xn--kgbechtv + null example.إختبار - xn-kgbechtv - example.xn-kgbechtv + xn--kgbechtv + example.xn--kgbechtv sub.example.إختبار - xn-kgbechtv - example.xn-kgbechtv + xn--kgbechtv + example.xn--kgbechtv + + [2001:0db8:85a3:0000:0000:8a2e:0370:7334] + null + null