Преглед изворни кода

publicsuffix: update table to latest list from publicsuffix.org

Update the list to revision 0e2a405f597a3c1be456d704b42bdd5e0d4954bb
(2019-02-21T09:23:55Z)

Change-Id: If3f121fb3897920e1bcd22d5fdc6b515e287e00d
Reviewed-on: https://go-review.googlesource.com/c/net/+/169377
Reviewed-by: Nigel Tao <nigeltao@golang.org>
Volker Dobler пре 6 година
родитељ
комит
74de082e2c
2 измењених фајлова са 9354 додато и 9178 уклоњено
  1. 9189 9125
      publicsuffix/table.go
  2. 165 53
      publicsuffix/table_test.go

Разлика између датотеке није приказан због своје велике величине
+ 9189 - 9125
publicsuffix/table.go


+ 165 - 53
publicsuffix/table_test.go

@@ -2,7 +2,7 @@
 
 package publicsuffix
 
-const numICANNRules = 7334
+const numICANNRules = 7335
 
 var rules = [...]string{
 	"ac",
@@ -1093,9 +1093,9 @@ var rules = [...]string{
 	"tos.it",
 	"toscana.it",
 	"trentin-sud-tirol.it",
-	"xn--trentin-sud-tirol-tsj.it",
+	"xn--trentin-sd-tirol-rzb.it",
 	"trentin-sudtirol.it",
-	"xn--trentin-sudtirol-b9i.it",
+	"xn--trentin-sdtirol-7vb.it",
 	"trentin-sued-tirol.it",
 	"trentin-suedtirol.it",
 	"trentino-a-adige.it",
@@ -1105,9 +1105,9 @@ var rules = [...]string{
 	"trentino-s-tirol.it",
 	"trentino-stirol.it",
 	"trentino-sud-tirol.it",
-	"xn--trentino-sud-tirol-dck.it",
+	"xn--trentino-sd-tirol-c3b.it",
 	"trentino-sudtirol.it",
-	"xn--trentino-sudtirol-usj.it",
+	"xn--trentino-sdtirol-szb.it",
 	"trentino-sued-tirol.it",
 	"trentino-suedtirol.it",
 	"trentino.it",
@@ -1118,15 +1118,15 @@ var rules = [...]string{
 	"trentinos-tirol.it",
 	"trentinostirol.it",
 	"trentinosud-tirol.it",
-	"xn--trentinosud-tirol-tsj.it",
+	"xn--trentinosd-tirol-rzb.it",
 	"trentinosudtirol.it",
-	"xn--trentinosudtirol-b9i.it",
+	"xn--trentinosdtirol-7vb.it",
 	"trentinosued-tirol.it",
 	"trentinosuedtirol.it",
 	"trentinsud-tirol.it",
-	"xn--trentinsud-tirol-98i.it",
+	"xn--trentinsd-tirol-6vb.it",
 	"trentinsudtirol.it",
-	"xn--trentinsudtirol-rqi.it",
+	"xn--trentinsdtirol-nsb.it",
 	"trentinsued-tirol.it",
 	"trentinsuedtirol.it",
 	"tuscany.it",
@@ -1143,13 +1143,13 @@ var rules = [...]string{
 	"valled-aosta.it",
 	"valledaosta.it",
 	"vallee-aoste.it",
-	"xn--vallee-aoste-i2g.it",
+	"xn--valle-aoste-ebb.it",
 	"vallee-d-aoste.it",
-	"xn--vallee-d-aoste-43h.it",
+	"xn--valle-d-aoste-ehb.it",
 	"valleeaoste.it",
-	"xn--valleeaoste-6jg.it",
+	"xn--valleaoste-e7a.it",
 	"valleedaoste.it",
-	"xn--valleedaoste-i2g.it",
+	"xn--valledaoste-ebb.it",
 	"vao.it",
 	"vda.it",
 	"ven.it",
@@ -1182,7 +1182,7 @@ var rules = [...]string{
 	"avellino.it",
 	"ba.it",
 	"balsan-sudtirol.it",
-	"xn--balsan-sudtirol-rqi.it",
+	"xn--balsan-sdtirol-nsb.it",
 	"balsan-suedtirol.it",
 	"balsan.it",
 	"bari.it",
@@ -1201,7 +1201,7 @@ var rules = [...]string{
 	"bolzano-altoadige.it",
 	"bolzano.it",
 	"bozen-sudtirol.it",
-	"xn--bozen-sudtirol-76h.it",
+	"xn--bozen-sdtirol-2ob.it",
 	"bozen-suedtirol.it",
 	"bozen.it",
 	"br.it",
@@ -1210,7 +1210,7 @@ var rules = [...]string{
 	"bs.it",
 	"bt.it",
 	"bulsan-sudtirol.it",
-	"xn--bulsan-sudtirol-rqi.it",
+	"xn--bulsan-sdtirol-nsb.it",
 	"bulsan-suedtirol.it",
 	"bulsan.it",
 	"bz.it",
@@ -1230,9 +1230,9 @@ var rules = [...]string{
 	"cb.it",
 	"ce.it",
 	"cesena-forli.it",
-	"xn--cesena-forli-c2g.it",
+	"xn--cesena-forl-mcb.it",
 	"cesenaforli.it",
-	"xn--cesenaforli-0jg.it",
+	"xn--cesenaforl-i8a.it",
 	"ch.it",
 	"chieti.it",
 	"ci.it",
@@ -1263,9 +1263,9 @@ var rules = [...]string{
 	"fm.it",
 	"foggia.it",
 	"forli-cesena.it",
-	"xn--forli-cesena-41g.it",
+	"xn--forl-cesena-fcb.it",
 	"forlicesena.it",
-	"xn--forlicesena-ujg.it",
+	"xn--forlcesena-c8a.it",
 	"fr.it",
 	"frosinone.it",
 	"ge.it",
@@ -1396,7 +1396,7 @@ var rules = [...]string{
 	"sr.it",
 	"ss.it",
 	"suedtirol.it",
-	"xn--sudtirol-y0e.it",
+	"xn--sdtirol-n2a.it",
 	"sv.it",
 	"ta.it",
 	"taranto.it",
@@ -3403,8 +3403,15 @@ var rules = [...]string{
 	"org.lr",
 	"net.lr",
 	"ls",
+	"ac.ls",
+	"biz.ls",
 	"co.ls",
+	"edu.ls",
+	"gov.ls",
+	"info.ls",
+	"net.ls",
 	"org.ls",
+	"sc.ls",
 	"lt",
 	"gov.lt",
 	"lu",
@@ -4172,7 +4179,6 @@ var rules = [...]string{
 	"org.ni",
 	"web.ni",
 	"nl",
-	"bv.nl",
 	"no",
 	"fhs.no",
 	"vgs.no",
@@ -6244,7 +6250,6 @@ var rules = [...]string{
 	"bio",
 	"black",
 	"blackfriday",
-	"blanco",
 	"blockbuster",
 	"blog",
 	"bloomberg",
@@ -6448,7 +6453,6 @@ var rules = [...]string{
 	"engineer",
 	"engineering",
 	"enterprises",
-	"epost",
 	"epson",
 	"equipment",
 	"ericsson",
@@ -7056,7 +7060,6 @@ var rules = [...]string{
 	"sony",
 	"soy",
 	"space",
-	"spiegel",
 	"sport",
 	"spot",
 	"spreadbetting",
@@ -7068,7 +7071,6 @@ var rules = [...]string{
 	"starhub",
 	"statebank",
 	"statefarm",
-	"statoil",
 	"stc",
 	"stcgroup",
 	"stockholm",
@@ -7336,7 +7338,6 @@ var rules = [...]string{
 	"zara",
 	"zero",
 	"zip",
-	"zippo",
 	"zone",
 	"zuerich",
 	"cc.ua",
@@ -7437,6 +7438,8 @@ var rules = [...]string{
 	"potager.org",
 	"sweetpepper.org",
 	"myasustor.com",
+	"go-vip.co",
+	"wpcomstaging.com",
 	"myfritz.net",
 	"*.awdev.ca",
 	"*.advisor.ws",
@@ -7453,6 +7456,8 @@ var rules = [...]string{
 	"bplaced.net",
 	"square7.net",
 	"browsersafetymark.io",
+	"dh.bytemark.co.uk",
+	"vm.bytemark.co.uk",
 	"mycd.eu",
 	"ae.org",
 	"ar.com",
@@ -7552,9 +7557,13 @@ var rules = [...]string{
 	"firm.dk",
 	"reg.dk",
 	"store.dk",
+	"*.dapps.earth",
+	"*.bzz.dapps.earth",
 	"debian.net",
 	"dedyn.io",
 	"dnshome.de",
+	"online.th",
+	"shop.th",
 	"drayddns.com",
 	"dreamhosters.com",
 	"mydrobo.com",
@@ -8019,6 +8028,7 @@ var rules = [...]string{
 	"vladimir.su",
 	"vologda.su",
 	"channelsdvr.net",
+	"fastly-terrarium.com",
 	"fastlylb.net",
 	"map.fastlylb.net",
 	"freetls.fastly.net",
@@ -8036,7 +8046,14 @@ var rules = [...]string{
 	"cloud.fedoraproject.org",
 	"app.os.fedoraproject.org",
 	"app.os.stg.fedoraproject.org",
+	"mydobiss.com",
 	"filegear.me",
+	"filegear-au.me",
+	"filegear-de.me",
+	"filegear-gb.me",
+	"filegear-ie.me",
+	"filegear-jp.me",
+	"filegear-sg.me",
 	"firebaseapp.com",
 	"flynnhub.com",
 	"flynnhosting.net",
@@ -8063,6 +8080,8 @@ var rules = [...]string{
 	"ro.im",
 	"shop.ro",
 	"goip.de",
+	"run.app",
+	"a.run.app",
 	"*.0emm.com",
 	"appspot.com",
 	"blogspot.ae",
@@ -8161,6 +8180,16 @@ var rules = [...]string{
 	"ravendb.run",
 	"moonscale.net",
 	"iki.fi",
+	"dyn-berlin.de",
+	"in-berlin.de",
+	"in-brb.de",
+	"in-butter.de",
+	"in-dsl.de",
+	"in-dsl.net",
+	"in-dsl.org",
+	"in-vpn.de",
+	"in-vpn.net",
+	"in-vpn.org",
 	"biz.at",
 	"info.at",
 	"info.cx",
@@ -8210,11 +8239,27 @@ var rules = [...]string{
 	"git-repos.de",
 	"lcube-server.de",
 	"svn-repos.de",
+	"leadpages.co",
+	"lpages.co",
+	"lpusercontent.com",
+	"co.business",
+	"co.education",
+	"co.events",
+	"co.financial",
+	"co.network",
+	"co.place",
+	"co.technology",
 	"app.lmpm.com",
 	"linkitools.space",
 	"linkyard.cloud",
 	"linkyard-cloud.ch",
 	"we.bs",
+	"krasnik.pl",
+	"leczna.pl",
+	"lubartow.pl",
+	"lublin.pl",
+	"poniatowa.pl",
+	"swidnik.pl",
 	"uklugs.org",
 	"glug.org.uk",
 	"lug.org.uk",
@@ -8463,6 +8508,7 @@ var rules = [...]string{
 	"protonet.io",
 	"chirurgiens-dentistes-en-france.fr",
 	"byen.site",
+	"instantcloud.cn",
 	"ras.ru",
 	"qa2.com",
 	"dev-myqnapcloud.com",
@@ -8473,6 +8519,7 @@ var rules = [...]string{
 	"vaporcloud.io",
 	"rackmaze.com",
 	"rackmaze.net",
+	"readthedocs.io",
 	"rhcloud.com",
 	"resindevice.io",
 	"devices.resinstaging.io",
@@ -8507,6 +8554,7 @@ var rules = [...]string{
 	"applinzi.com",
 	"sinaapp.com",
 	"vipsinaapp.com",
+	"siteleaf.net",
 	"bounty-full.com",
 	"alpha.bounty-full.com",
 	"beta.bounty-full.com",
@@ -8517,9 +8565,12 @@ var rules = [...]string{
 	"*.stolos.io",
 	"spacekit.io",
 	"customer.speedpartner.de",
+	"api.stdlib.com",
 	"storj.farm",
 	"utwente.io",
 	"temp-dns.com",
+	"applicationcloud.io",
+	"scapp.io",
 	"diskstation.me",
 	"dscloud.biz",
 	"dscloud.me",
@@ -8540,6 +8591,9 @@ var rules = [...]string{
 	"gdynia.pl",
 	"med.pl",
 	"sopot.pl",
+	"telebit.app",
+	"telebit.io",
+	"*.telebit.xyz",
 	"gwiddle.co.uk",
 	"cust.dev.thingdust.io",
 	"cust.disrec.thingdust.io",
@@ -8621,6 +8675,7 @@ var rules = [...]string{
 	"za.net",
 	"za.org",
 	"now.sh",
+	"bss.design",
 	"zone.id",
 }
 
@@ -8771,7 +8826,6 @@ var nodeLabels = [...]string{
 	"bj",
 	"black",
 	"blackfriday",
-	"blanco",
 	"blockbuster",
 	"blog",
 	"bloomberg",
@@ -9017,7 +9071,6 @@ var nodeLabels = [...]string{
 	"engineer",
 	"engineering",
 	"enterprises",
-	"epost",
 	"epson",
 	"equipment",
 	"er",
@@ -9778,7 +9831,6 @@ var nodeLabels = [...]string{
 	"sony",
 	"soy",
 	"space",
-	"spiegel",
 	"sport",
 	"spot",
 	"spreadbetting",
@@ -9792,7 +9844,6 @@ var nodeLabels = [...]string{
 	"starhub",
 	"statebank",
 	"statefarm",
-	"statoil",
 	"stc",
 	"stcgroup",
 	"stockholm",
@@ -10166,7 +10217,6 @@ var nodeLabels = [...]string{
 	"zara",
 	"zero",
 	"zip",
-	"zippo",
 	"zm",
 	"zone",
 	"zuerich",
@@ -10307,6 +10357,9 @@ var nodeLabels = [...]string{
 	"og",
 	"pb",
 	"hasura",
+	"run",
+	"telebit",
+	"a",
 	"com",
 	"edu",
 	"gob",
@@ -10723,6 +10776,7 @@ var nodeLabels = [...]string{
 	"net",
 	"org",
 	"co",
+	"co",
 	"org",
 	"com",
 	"gov",
@@ -10827,6 +10881,7 @@ var nodeLabels = [...]string{
 	"hk",
 	"hl",
 	"hn",
+	"instantcloud",
 	"jl",
 	"js",
 	"jx",
@@ -10864,9 +10919,12 @@ var nodeLabels = [...]string{
 	"com",
 	"edu",
 	"firm",
+	"go-vip",
 	"gov",
 	"info",
 	"int",
+	"leadpages",
+	"lpages",
 	"mil",
 	"mypi",
 	"n4t",
@@ -10953,6 +11011,7 @@ var nodeLabels = [...]string{
 	"eu",
 	"evennode",
 	"familyds",
+	"fastly-terrarium",
 	"fastvps-server",
 	"fbsbx",
 	"firebaseapp",
@@ -11097,12 +11156,14 @@ var nodeLabels = [...]string{
 	"lmpm",
 	"logoip",
 	"loseyourip",
+	"lpusercontent",
 	"meteorapp",
 	"mex",
 	"miniserver",
 	"myactivedirectory",
 	"myasustor",
 	"mydatto",
+	"mydobiss",
 	"mydrobo",
 	"myiphost",
 	"myqnapcloud",
@@ -11162,6 +11223,7 @@ var nodeLabels = [...]string{
 	"simple-url",
 	"sinaapp",
 	"space-to-rent",
+	"stdlib",
 	"stufftoread",
 	"teaches-yoga",
 	"temp-dns",
@@ -11175,6 +11237,7 @@ var nodeLabels = [...]string{
 	"withgoogle",
 	"withyoutube",
 	"workisboring",
+	"wpcomstaging",
 	"wpdevcloud",
 	"writesthisblog",
 	"xenapponazure",
@@ -11295,6 +11358,7 @@ var nodeLabels = [...]string{
 	"app",
 	"eu",
 	"xen",
+	"api",
 	"u2",
 	"u2-local",
 	"ravendb",
@@ -11359,6 +11423,7 @@ var nodeLabels = [...]string{
 	"dnsupdater",
 	"dray-dns",
 	"draydns",
+	"dyn-berlin",
 	"dyn-ip24",
 	"dyn-vpn",
 	"dynamisches-dns",
@@ -11369,6 +11434,11 @@ var nodeLabels = [...]string{
 	"git-repos",
 	"goip",
 	"home-webserver",
+	"in-berlin",
+	"in-brb",
+	"in-butter",
+	"in-dsl",
+	"in-vpn",
 	"internet-dns",
 	"isteingeek",
 	"istmein",
@@ -11404,6 +11474,7 @@ var nodeLabels = [...]string{
 	"dyndns",
 	"dyn",
 	"customer",
+	"bss",
 	"fastpanel",
 	"biz",
 	"blogspot",
@@ -11434,6 +11505,8 @@ var nodeLabels = [...]string{
 	"net",
 	"org",
 	"pol",
+	"dapps",
+	"bzz",
 	"com",
 	"edu",
 	"fin",
@@ -11446,6 +11519,7 @@ var nodeLabels = [...]string{
 	"net",
 	"org",
 	"pro",
+	"co",
 	"aip",
 	"com",
 	"edu",
@@ -11491,12 +11565,14 @@ var nodeLabels = [...]string{
 	"wellbeingzone",
 	"party",
 	"user",
+	"co",
 	"ybo",
 	"storj",
 	"aland",
 	"blogspot",
 	"dy",
 	"iki",
+	"co",
 	"ptplus",
 	"aeroport",
 	"assedic",
@@ -11767,6 +11843,7 @@ var nodeLabels = [...]string{
 	"eu",
 	"2038",
 	"apigee",
+	"applicationcloud",
 	"azurecontainer",
 	"backplaneapp",
 	"barsy",
@@ -11789,13 +11866,16 @@ var nodeLabels = [...]string{
 	"nodum",
 	"pantheonsite",
 	"protonet",
+	"readthedocs",
 	"resindevice",
 	"resinstaging",
 	"s5y",
 	"sandcats",
+	"scapp",
 	"shiftedit",
 	"spacekit",
 	"stolos",
+	"telebit",
 	"thingdust",
 	"utwente",
 	"vaporcloud",
@@ -12225,26 +12305,26 @@ var nodeLabels = [...]string{
 	"vs",
 	"vt",
 	"vv",
-	"xn--balsan-sudtirol-rqi",
-	"xn--bozen-sudtirol-76h",
-	"xn--bulsan-sudtirol-rqi",
-	"xn--cesena-forli-c2g",
-	"xn--cesenaforli-0jg",
-	"xn--forli-cesena-41g",
-	"xn--forlicesena-ujg",
-	"xn--sudtirol-y0e",
-	"xn--trentin-sud-tirol-tsj",
-	"xn--trentin-sudtirol-b9i",
-	"xn--trentino-sud-tirol-dck",
-	"xn--trentino-sudtirol-usj",
-	"xn--trentinosud-tirol-tsj",
-	"xn--trentinosudtirol-b9i",
-	"xn--trentinsud-tirol-98i",
-	"xn--trentinsudtirol-rqi",
-	"xn--vallee-aoste-i2g",
-	"xn--vallee-d-aoste-43h",
-	"xn--valleeaoste-6jg",
-	"xn--valleedaoste-i2g",
+	"xn--balsan-sdtirol-nsb",
+	"xn--bozen-sdtirol-2ob",
+	"xn--bulsan-sdtirol-nsb",
+	"xn--cesena-forl-mcb",
+	"xn--cesenaforl-i8a",
+	"xn--forl-cesena-fcb",
+	"xn--forlcesena-c8a",
+	"xn--sdtirol-n2a",
+	"xn--trentin-sd-tirol-rzb",
+	"xn--trentin-sdtirol-7vb",
+	"xn--trentino-sd-tirol-c3b",
+	"xn--trentino-sdtirol-szb",
+	"xn--trentinosd-tirol-rzb",
+	"xn--trentinosdtirol-7vb",
+	"xn--trentinsd-tirol-6vb",
+	"xn--trentinsdtirol-nsb",
+	"xn--valle-aoste-ebb",
+	"xn--valle-d-aoste-ehb",
+	"xn--valleaoste-e7a",
+	"xn--valledaoste-ebb",
 	"co",
 	"net",
 	"org",
@@ -14201,8 +14281,15 @@ var nodeLabels = [...]string{
 	"gov",
 	"net",
 	"org",
+	"ac",
+	"biz",
 	"co",
+	"edu",
+	"gov",
+	"info",
+	"net",
 	"org",
+	"sc",
 	"blogspot",
 	"gov",
 	"nym",
@@ -14248,6 +14335,12 @@ var nodeLabels = [...]string{
 	"dscloud",
 	"edu",
 	"filegear",
+	"filegear-au",
+	"filegear-de",
+	"filegear-gb",
+	"filegear-ie",
+	"filegear-jp",
+	"filegear-sg",
 	"gov",
 	"hopto",
 	"i234",
@@ -15003,7 +15096,9 @@ var nodeLabels = [...]string{
 	"homeunix",
 	"hu",
 	"in",
+	"in-dsl",
 	"in-the-band",
+	"in-vpn",
 	"ipifony",
 	"is-a-chef",
 	"is-a-geek",
@@ -15040,6 +15135,7 @@ var nodeLabels = [...]string{
 	"serveblog",
 	"serveftp",
 	"serveminecraft",
+	"siteleaf",
 	"square7",
 	"static-access",
 	"sytes",
@@ -15062,6 +15158,7 @@ var nodeLabels = [...]string{
 	"global",
 	"map",
 	"alces",
+	"co",
 	"arts",
 	"com",
 	"firm",
@@ -15098,7 +15195,6 @@ var nodeLabels = [...]string{
 	"org",
 	"web",
 	"blogspot",
-	"bv",
 	"cistron",
 	"co",
 	"demon",
@@ -15960,6 +16056,8 @@ var nodeLabels = [...]string{
 	"homelinux",
 	"homeunix",
 	"hopto",
+	"in-dsl",
+	"in-vpn",
 	"is-a-bruinsfan",
 	"is-a-candidate",
 	"is-a-celticsfan",
@@ -16190,15 +16288,19 @@ var nodeLabels = [...]string{
 	"konin",
 	"konskowola",
 	"krakow",
+	"krasnik",
 	"kutno",
 	"lapy",
 	"lebork",
+	"leczna",
 	"legnica",
 	"lezajsk",
 	"limanowa",
 	"lomza",
 	"lowicz",
+	"lubartow",
 	"lubin",
+	"lublin",
 	"lukow",
 	"mail",
 	"malbork",
@@ -16237,6 +16339,7 @@ var nodeLabels = [...]string{
 	"polkowice",
 	"pomorskie",
 	"pomorze",
+	"poniatowa",
 	"powiat",
 	"poznan",
 	"priv",
@@ -16266,6 +16369,7 @@ var nodeLabels = [...]string{
 	"stargard",
 	"suwalki",
 	"swidnica",
+	"swidnik",
 	"swiebodzin",
 	"swinoujscie",
 	"szczecin",
@@ -16346,6 +16450,7 @@ var nodeLabels = [...]string{
 	"wuoz",
 	"wzmiuw",
 	"zp",
+	"co",
 	"own",
 	"co",
 	"edu",
@@ -16702,13 +16807,16 @@ var nodeLabels = [...]string{
 	"co",
 	"org",
 	"blogspot",
+	"co",
 	"ac",
 	"co",
 	"go",
 	"in",
 	"mi",
 	"net",
+	"online",
 	"or",
+	"shop",
 	"ac",
 	"biz",
 	"co",
@@ -16944,10 +17052,13 @@ var nodeLabels = [...]string{
 	"barsy",
 	"barsyonline",
 	"blogspot",
+	"bytemark",
 	"gwiddle",
 	"nh-serv",
 	"no-ip",
 	"wellbeingzone",
+	"dh",
+	"vm",
 	"homeoffice",
 	"service",
 	"glug",
@@ -17282,6 +17393,7 @@ var nodeLabels = [...]string{
 	"blogsite",
 	"crafting",
 	"fhapp",
+	"telebit",
 	"zapto",
 	"ac",
 	"agric",

Неке датотеке нису приказане због велике количине промена