Browse Source

publicsuffix: update table to latest list from publicsuffix.org.

Change-Id: I4e4eb9c710b0ee21a2ade97fd7d38cbd984a6b7f
Reviewed-on: https://go-review.googlesource.com/16424
Reviewed-by: Nigel Tao <nigeltao@golang.org>
Volker Dobler 10 years ago
parent
commit
b4e17d61b1
3 changed files with 8468 additions and 8030 deletions
  1. 4 4
      publicsuffix/list_test.go
  2. 8239 8023
      publicsuffix/table.go
  3. 225 3
      publicsuffix/table_test.go

+ 4 - 4
publicsuffix/list_test.go

@@ -356,10 +356,10 @@ var eTLDPlusOneTestCases = []struct {
 	{"a.b.example.uk.com", "example.uk.com"},
 	{"test.ac", "test.ac"},
 	// TLD with only 1 (wildcard) rule.
-	{"il", ""},
-	{"c.il", ""},
-	{"b.c.il", "b.c.il"},
-	{"a.b.c.il", "b.c.il"},
+	{"mm", ""},
+	{"c.mm", ""},
+	{"b.c.mm", "b.c.mm"},
+	{"a.b.c.mm", "b.c.mm"},
 	// More complex TLD.
 	{"jp", ""},
 	{"test.jp", "test.jp"},

File diff suppressed because it is too large
+ 8239 - 8023
publicsuffix/table.go


File diff suppressed because it is too large
+ 225 - 3
publicsuffix/table_test.go


Some files were not shown because too many files changed in this diff