From cb29c1a23eb197f2daf0c65a0d4154276b832de6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20D=C3=B6rre?= Date: Sat, 3 Oct 2015 14:43:23 +0200 Subject: [PATCH] upd: the Public suffix list changed (again), as did the test vectors. (next change in such a short time will lead to implementing fetching these test vectors live when testing) --- .../cacert/gigi/util/TestPublicSuffixes.txt | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/tests/org/cacert/gigi/util/TestPublicSuffixes.txt b/tests/org/cacert/gigi/util/TestPublicSuffixes.txt index 898e1373..09be1f52 100644 --- a/tests/org/cacert/gigi/util/TestPublicSuffixes.txt +++ b/tests/org/cacert/gigi/util/TestPublicSuffixes.txt @@ -8,20 +8,20 @@ checkPublicSuffix('COM', null); checkPublicSuffix('example.COM', 'example.com'); checkPublicSuffix('WwW.example.COM', 'example.com'); // Leading dot. -//checkPublicSuffix('.com', null); -//checkPublicSuffix('.example', null); -//checkPublicSuffix('.example.com', null); -//checkPublicSuffix('.example.example', null); +checkPublicSuffix('.com', null); +checkPublicSuffix('.example', null); +checkPublicSuffix('.example.com', null); +checkPublicSuffix('.example.example', null); // Unlisted TLD. -//checkPublicSuffix('example', null); -//checkPublicSuffix('example.example', 'example.example'); -//checkPublicSuffix('b.example.example', 'example.example'); -//checkPublicSuffix('a.b.example.example', 'example.example'); +checkPublicSuffix('example', null); +checkPublicSuffix('example.example', 'example.example'); +checkPublicSuffix('b.example.example', 'example.example'); +checkPublicSuffix('a.b.example.example', 'example.example'); // Listed, but non-Internet, TLD. -checkPublicSuffix('local', null); -checkPublicSuffix('example.local', null); -checkPublicSuffix('b.example.local', null); -checkPublicSuffix('a.b.example.local', null); +//checkPublicSuffix('local', null); +//checkPublicSuffix('example.local', null); +//checkPublicSuffix('b.example.local', null); +//checkPublicSuffix('a.b.example.local', null); // TLD with only 1 rule. checkPublicSuffix('biz', null); checkPublicSuffix('domain.biz', 'domain.biz'); @@ -38,10 +38,10 @@ checkPublicSuffix('b.example.uk.com', 'example.uk.com'); checkPublicSuffix('a.b.example.uk.com', 'example.uk.com'); checkPublicSuffix('test.ac', 'test.ac'); // TLD with only 1 (wildcard) rule. -checkPublicSuffix('il', null); -checkPublicSuffix('c.il', null); -checkPublicSuffix('b.c.il', 'b.c.il'); -checkPublicSuffix('a.b.c.il', 'b.c.il'); +checkPublicSuffix('mm', null); +checkPublicSuffix('c.mm', null); +checkPublicSuffix('b.c.mm', 'b.c.mm'); +checkPublicSuffix('a.b.c.mm', 'b.c.mm'); // More complex TLD. checkPublicSuffix('jp', null); checkPublicSuffix('test.jp', 'test.jp'); -- 2.39.2