Browse Source

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

$ cd golang.org/x/net/publicsuffix/
$ go run gen.go -version "publicsuffix.org's public_suffix_list.dat, git revision 1f3ad51 (2015-12-05)" -test >table_test.go
$ go run gen.go -version "publicsuffix.org's public_suffix_list.dat, git revision 1f3ad51 (2015-12-05)" >table.go

Change-Id: I6f4bdd66b325b7abb097dcfe525a3cd1154b2d23
Reviewed-on: https://go-review.googlesource.com/17477
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Nigel Tao 10 years ago
parent
commit
fa33dc7b89
2 changed files with 8354 additions and 8254 deletions
  1. 8272 8237
      publicsuffix/table.go
  2. 82 17
      publicsuffix/table_test.go

File diff suppressed because it is too large
+ 8272 - 8237
publicsuffix/table.go


+ 82 - 17
publicsuffix/table_test.go

@@ -80,7 +80,6 @@ var rules = [...]string{
 	"logistics.aero",
 	"magazine.aero",
 	"maintenance.aero",
-	"marketplace.aero",
 	"media.aero",
 	"microlight.aero",
 	"modelling.aero",
@@ -103,7 +102,6 @@ var rules = [...]string{
 	"skydiving.aero",
 	"software.aero",
 	"student.aero",
-	"taxi.aero",
 	"trader.aero",
 	"trading.aero",
 	"trainer.aero",
@@ -135,11 +133,6 @@ var rules = [...]string{
 	"net.al",
 	"org.al",
 	"am",
-	"an",
-	"com.an",
-	"net.an",
-	"org.an",
-	"edu.an",
 	"ao",
 	"ed.ao",
 	"gv.ao",
@@ -3970,7 +3963,20 @@ var rules = [...]string{
 	"gov.ng",
 	"mil.ng",
 	"mobi.ng",
-	"*.ni",
+	"com.ni",
+	"gob.ni",
+	"edu.ni",
+	"org.ni",
+	"nom.ni",
+	"net.ni",
+	"mil.ni",
+	"co.ni",
+	"biz.ni",
+	"web.ni",
+	"int.ni",
+	"ac.ni",
+	"in.ni",
+	"info.ni",
 	"nl",
 	"bv.nl",
 	"no",
@@ -5226,7 +5232,6 @@ var rules = [...]string{
 	"k-uralsk.ru",
 	"kustanai.ru",
 	"kuzbass.ru",
-	"magnitka.ru",
 	"mytis.ru",
 	"nakhodka.ru",
 	"nkz.ru",
@@ -6126,6 +6131,7 @@ var rules = [...]string{
 	"barclays",
 	"barefoot",
 	"bargains",
+	"baseball",
 	"basketball",
 	"bauhaus",
 	"bayern",
@@ -6212,6 +6218,7 @@ var rules = [...]string{
 	"cash",
 	"casino",
 	"catering",
+	"catholic",
 	"cba",
 	"cbn",
 	"cbre",
@@ -6318,6 +6325,7 @@ var rules = [...]string{
 	"discount",
 	"discover",
 	"dish",
+	"diy",
 	"dnp",
 	"docs",
 	"dodge",
@@ -6740,6 +6748,7 @@ var rules = [...]string{
 	"nikon",
 	"ninja",
 	"nissan",
+	"nissay",
 	"nokia",
 	"northwesternmutual",
 	"norton",
@@ -6832,6 +6841,7 @@ var rules = [...]string{
 	"pru",
 	"prudential",
 	"pub",
+	"pwc",
 	"qpon",
 	"quebec",
 	"quest",
@@ -7053,6 +7063,7 @@ var rules = [...]string{
 	"ubank",
 	"ubs",
 	"uconnect",
+	"unicom",
 	"university",
 	"uno",
 	"uol",
@@ -7145,6 +7156,7 @@ var rules = [...]string{
 	"xn--6frz82g",
 	"xn--6qq986b3xl",
 	"xn--80adxhks",
+	"xn--80aqecdr1a",
 	"xn--80asehdb",
 	"xn--80aswg",
 	"xn--8y0a063a",
@@ -7190,6 +7202,7 @@ var rules = [...]string{
 	"xn--mgbab2bd",
 	"xn--mgbb9fbpob",
 	"xn--mgbca7dzdo",
+	"xn--mgbi4ecexp",
 	"xn--mgbt3dhd",
 	"xn--mk1bu44c",
 	"xn--mxtq1m",
@@ -7208,6 +7221,7 @@ var rules = [...]string{
 	"xn--ses554g",
 	"xn--t60b56a",
 	"xn--tckwe",
+	"xn--tiq49xqyj",
 	"xn--unup4y",
 	"xn--vermgensberater-ctb",
 	"xn--vermgensberatung-pwb",
@@ -7746,6 +7760,7 @@ var rules = [...]string{
 	"pagespeedmobilizer.com",
 	"withgoogle.com",
 	"withyoutube.com",
+	"hashbang.sh",
 	"herokuapp.com",
 	"herokussl.com",
 	"iki.fi",
@@ -7757,11 +7772,13 @@ var rules = [...]string{
 	"cloudapp.net",
 	"bmoattachments.org",
 	"4u.com",
+	"ngrok.io",
 	"nfshost.com",
 	"nyc.mn",
 	"nid.io",
 	"operaunite.com",
 	"outsystemscloud.com",
+	"pagefrontapp.com",
 	"art.pl",
 	"gliwice.pl",
 	"krakow.pl",
@@ -7772,6 +7789,8 @@ var rules = [...]string{
 	"gotpantheon.com",
 	"priv.at",
 	"qa2.com",
+	"rackmaze.com",
+	"rackmaze.net",
 	"rhcloud.com",
 	"sandcats.io",
 	"biz.ua",
@@ -7780,6 +7799,19 @@ var rules = [...]string{
 	"sinaapp.com",
 	"vipsinaapp.com",
 	"1kapp.com",
+	"synology.me",
+	"diskstation.me",
+	"i234.me",
+	"myds.me",
+	"dscloud.biz",
+	"dscloud.me",
+	"dscloud.mobi",
+	"dsmynas.com",
+	"dsmynas.net",
+	"dsmynas.org",
+	"familyds.com",
+	"familyds.net",
+	"familyds.org",
 	"gda.pl",
 	"gdansk.pl",
 	"gdynia.pl",
@@ -7852,7 +7884,6 @@ var nodeLabels = [...]string{
 	"amfam",
 	"amica",
 	"amsterdam",
-	"an",
 	"analytics",
 	"android",
 	"anquan",
@@ -7906,6 +7937,7 @@ var nodeLabels = [...]string{
 	"barclays",
 	"barefoot",
 	"bargains",
+	"baseball",
 	"basketball",
 	"bauhaus",
 	"bayern",
@@ -8013,6 +8045,7 @@ var nodeLabels = [...]string{
 	"casino",
 	"cat",
 	"catering",
+	"catholic",
 	"cba",
 	"cbn",
 	"cbre",
@@ -8140,6 +8173,7 @@ var nodeLabels = [...]string{
 	"discount",
 	"discover",
 	"dish",
+	"diy",
 	"dj",
 	"dk",
 	"dm",
@@ -8679,6 +8713,7 @@ var nodeLabels = [...]string{
 	"nikon",
 	"ninja",
 	"nissan",
+	"nissay",
 	"nl",
 	"no",
 	"nokia",
@@ -8794,6 +8829,7 @@ var nodeLabels = [...]string{
 	"pt",
 	"pub",
 	"pw",
+	"pwc",
 	"py",
 	"qa",
 	"qpon",
@@ -9065,6 +9101,7 @@ var nodeLabels = [...]string{
 	"uconnect",
 	"ug",
 	"uk",
+	"unicom",
 	"university",
 	"uno",
 	"uol",
@@ -9173,6 +9210,7 @@ var nodeLabels = [...]string{
 	"xn--6qq986b3xl",
 	"xn--80adxhks",
 	"xn--80ao21a",
+	"xn--80aqecdr1a",
 	"xn--80asehdb",
 	"xn--80aswg",
 	"xn--8y0a063a",
@@ -9246,6 +9284,7 @@ var nodeLabels = [...]string{
 	"xn--mgbca7dzdo",
 	"xn--mgberp4a5d4a87g",
 	"xn--mgberp4a5d4ar",
+	"xn--mgbi4ecexp",
 	"xn--mgbpl2fh",
 	"xn--mgbqly7c0a67fbc",
 	"xn--mgbqly7cvafr",
@@ -9280,6 +9319,7 @@ var nodeLabels = [...]string{
 	"xn--ses554g",
 	"xn--t60b56a",
 	"xn--tckwe",
+	"xn--tiq49xqyj",
 	"xn--unup4y",
 	"xn--vermgensberater-ctb",
 	"xn--vermgensberatung-pwb",
@@ -9395,7 +9435,6 @@ var nodeLabels = [...]string{
 	"logistics",
 	"magazine",
 	"maintenance",
-	"marketplace",
 	"media",
 	"microlight",
 	"modelling",
@@ -9418,7 +9457,6 @@ var nodeLabels = [...]string{
 	"skydiving",
 	"software",
 	"student",
-	"taxi",
 	"trader",
 	"trading",
 	"trainer",
@@ -9447,10 +9485,6 @@ var nodeLabels = [...]string{
 	"net",
 	"org",
 	"blogspot",
-	"com",
-	"edu",
-	"net",
-	"org",
 	"co",
 	"ed",
 	"gv",
@@ -9598,6 +9632,7 @@ var nodeLabels = [...]string{
 	"edu",
 	"or",
 	"org",
+	"dscloud",
 	"dyndns",
 	"for-better",
 	"for-more",
@@ -9853,6 +9888,7 @@ var nodeLabels = [...]string{
 	"dontexist",
 	"doomdns",
 	"dreamhosters",
+	"dsmynas",
 	"dyn-o-saur",
 	"dynalias",
 	"dyndns-at-home",
@@ -9875,6 +9911,7 @@ var nodeLabels = [...]string{
 	"est-le-patron",
 	"est-mon-blogueur",
 	"eu",
+	"familyds",
 	"firebaseapp",
 	"flynnhub",
 	"from-ak",
@@ -10008,9 +10045,11 @@ var nodeLabels = [...]string{
 	"no",
 	"operaunite",
 	"outsystemscloud",
+	"pagefrontapp",
 	"pagespeedmobilizer",
 	"qa2",
 	"qc",
+	"rackmaze",
 	"rhcloud",
 	"ro",
 	"ru",
@@ -10401,6 +10440,7 @@ var nodeLabels = [...]string{
 	"eu",
 	"com",
 	"github",
+	"ngrok",
 	"nid",
 	"pantheon",
 	"sandcats",
@@ -12760,12 +12800,17 @@ var nodeLabels = [...]string{
 	"blogspot",
 	"ac",
 	"co",
+	"diskstation",
+	"dscloud",
 	"edu",
 	"gov",
+	"i234",
 	"its",
+	"myds",
 	"net",
 	"org",
 	"priv",
+	"synology",
 	"co",
 	"com",
 	"edu",
@@ -12799,6 +12844,7 @@ var nodeLabels = [...]string{
 	"gov",
 	"net",
 	"org",
+	"dscloud",
 	"blogspot",
 	"gov",
 	"com",
@@ -13442,9 +13488,11 @@ var nodeLabels = [...]string{
 	"dnsdojo",
 	"does-it",
 	"dontexist",
+	"dsmynas",
 	"dynalias",
 	"dynathome",
 	"endofinternet",
+	"familyds",
 	"fastly",
 	"from-az",
 	"from-co",
@@ -13467,6 +13515,7 @@ var nodeLabels = [...]string{
 	"kicks-ass",
 	"office-on-the",
 	"podzone",
+	"rackmaze",
 	"scrapper-site",
 	"se",
 	"selfip",
@@ -13505,6 +13554,20 @@ var nodeLabels = [...]string{
 	"org",
 	"sch",
 	"blogspot",
+	"ac",
+	"biz",
+	"co",
+	"com",
+	"edu",
+	"gob",
+	"in",
+	"info",
+	"int",
+	"mil",
+	"net",
+	"nom",
+	"org",
+	"web",
 	"blogspot",
 	"bv",
 	"co",
@@ -14322,6 +14385,7 @@ var nodeLabels = [...]string{
 	"doesntexist",
 	"dontexist",
 	"doomdns",
+	"dsmynas",
 	"duckdns",
 	"dvrdns",
 	"dynalias",
@@ -14329,6 +14393,7 @@ var nodeLabels = [...]string{
 	"endofinternet",
 	"endoftheinternet",
 	"eu",
+	"familyds",
 	"from-me",
 	"game-host",
 	"gotdns",
@@ -14832,7 +14897,6 @@ var nodeLabels = [...]string{
 	"kuzbass",
 	"lipetsk",
 	"magadan",
-	"magnitka",
 	"mari",
 	"mari-el",
 	"marine",
@@ -14989,6 +15053,7 @@ var nodeLabels = [...]string{
 	"per",
 	"com",
 	"gov",
+	"hashbang",
 	"mil",
 	"net",
 	"org",

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