Commit a62ee055 authored by Volker Dobler's avatar Volker Dobler Committed by Nigel Tao

go.net/publicsuffix: update table to latest list from publicsuffix.org

Update the public suffix list to the latest (October 15. 2013)
data of publicsuffix.org's list which adds around 60 new gTLDs.

The .ar rules changed, the corresponding tests are modified to
reflect this change in the list.

R=nigeltao
CC=golang-dev
https://golang.org/cl/14930048
parent a9bbf44c
...@@ -99,19 +99,18 @@ var publicSuffixTestCases = []struct { ...@@ -99,19 +99,18 @@ var publicSuffixTestCases = []struct {
{"www.xxx.yyy.zzz.pb.ao", "pb.ao"}, {"www.xxx.yyy.zzz.pb.ao", "pb.ao"},
// The .ar rules are: // The .ar rules are:
// *.ar // ar
// !congresodelalengua3.ar // com.ar
// !educ.ar // edu.ar
// !gobiernoelectronico.ar // gob.ar
// !mecon.ar // int.ar
// !nacion.ar // mil.ar
// !nic.ar // net.ar
// !promocion.ar // org.ar
// !retina.ar // tur.ar
// !uba.ar
// blogspot.com.ar // blogspot.com.ar
{"ar", "ar"}, {"ar", "ar"},
{"www.ar", "www.ar"}, {"www.ar", "ar"},
{"nic.ar", "ar"}, {"nic.ar", "ar"},
{"www.nic.ar", "ar"}, {"www.nic.ar", "ar"},
{"com.ar", "com.ar"}, {"com.ar", "com.ar"},
......
This diff is collapsed.
...@@ -148,16 +148,15 @@ var rules = [...]string{ ...@@ -148,16 +148,15 @@ var rules = [...]string{
"pb.ao", "pb.ao",
"it.ao", "it.ao",
"aq", "aq",
"*.ar", "ar",
"!congresodelalengua3.ar", "com.ar",
"!educ.ar", "edu.ar",
"!gobiernoelectronico.ar", "gob.ar",
"!mecon.ar", "int.ar",
"!nacion.ar", "mil.ar",
"!nic.ar", "net.ar",
"!promocion.ar", "org.ar",
"!retina.ar", "tur.ar",
"!uba.ar",
"e164.arpa", "e164.arpa",
"in-addr.arpa", "in-addr.arpa",
"ip6.arpa", "ip6.arpa",
...@@ -179,6 +178,7 @@ var rules = [...]string{ ...@@ -179,6 +178,7 @@ var rules = [...]string{
"gov.au", "gov.au",
"asn.au", "asn.au",
"id.au", "id.au",
"csiro.au",
"info.au", "info.au",
"conf.au", "conf.au",
"oz.au", "oz.au",
...@@ -3770,12 +3770,16 @@ var rules = [...]string{ ...@@ -3770,12 +3770,16 @@ var rules = [...]string{
"info.nf", "info.nf",
"other.nf", "other.nf",
"store.nf", "store.nf",
"ac.ng", "ng",
"com.ng", "com.ng",
"edu.ng", "edu.ng",
"gov.ng", "name.ng",
"net.ng", "net.ng",
"org.ng", "org.ng",
"sch.ng",
"gov.ng",
"mil.ng",
"mobi.ng",
"*.ni", "*.ni",
"nl", "nl",
"bv.nl", "bv.nl",
...@@ -4544,7 +4548,16 @@ var rules = [...]string{ ...@@ -4544,7 +4548,16 @@ var rules = [...]string{
"com.nr", "com.nr",
"nu", "nu",
"*.nz", "*.nz",
"*.om", "om",
"co.om",
"com.om",
"edu.om",
"gov.om",
"med.om",
"museum.om",
"net.om",
"org.om",
"pro.om",
"!mediaphone.om", "!mediaphone.om",
"!nawrastelecom.om", "!nawrastelecom.om",
"!nawras.om", "!nawras.om",
...@@ -5143,7 +5156,12 @@ var rules = [...]string{ ...@@ -5143,7 +5156,12 @@ var rules = [...]string{
"saotome.st", "saotome.st",
"store.st", "store.st",
"su", "su",
"*.sv", "sv",
"com.sv",
"edu.sv",
"gob.sv",
"org.sv",
"red.sv",
"sx", "sx",
"gov.sx", "gov.sx",
"sy", "sy",
...@@ -5709,7 +5727,79 @@ var rules = [...]string{ ...@@ -5709,7 +5727,79 @@ var rules = [...]string{
"*.za", "*.za",
"*.zm", "*.zm",
"*.zw", "*.zw",
"xn--80asehdb",
"xn--80aswg",
"xn--ngbc5azd",
"xn--unup4y",
"xn--vhquv",
"camera",
"clothing",
"lighting",
"singles",
"ventures",
"voyage",
"guru",
"holdings",
"equipment",
"bike",
"estate",
"tattoo",
"xn--3ds443g",
"xn--fiq228c5hs",
"land",
"plumbing",
"contractors",
"sexy",
"menu",
"xn--rhqv96g",
"uno",
"gallery",
"technology",
"xn--3bst00m",
"reviews",
"guide",
"xn--6qq986b3xl",
"graphics",
"construction",
"onl",
"xn--q9jyb4c",
"diamonds",
"kiwi",
"enterprises",
"today",
"futbol",
"photography",
"tips",
"directory",
"kitchen",
"xn--6frz82g",
"kim",
"xn--cg4bki",
"monash",
"wed",
"pink",
"ruhr",
"buzz",
"careers",
"shoes",
"xn--4gbrim",
"career",
"otsuka",
"xn--fiq64b",
"cloudfront.net", "cloudfront.net",
"compute.amazonaws.com",
"us-east-1.amazonaws.com",
"compute-1.amazonaws.com",
"z-1.compute-1.amazonaws.com",
"z-2.compute-1.amazonaws.com",
"ap-northeast-1.compute.amazonaws.com",
"ap-southeast-1.compute.amazonaws.com",
"ap-southeast-2.compute.amazonaws.com",
"eu-west-1.compute.amazonaws.com",
"sa-east-1.compute.amazonaws.com",
"us-gov-west-1.compute.amazonaws.com",
"us-west-1.compute.amazonaws.com",
"us-west-2.compute.amazonaws.com",
"elasticbeanstalk.com", "elasticbeanstalk.com",
"elb.amazonaws.com", "elb.amazonaws.com",
"s3.amazonaws.com", "s3.amazonaws.com",
...@@ -5760,6 +5850,8 @@ var rules = [...]string{ ...@@ -5760,6 +5850,8 @@ var rules = [...]string{
"uy.com", "uy.com",
"za.com", "za.com",
"c.la", "c.la",
"cloudcontrolled.com",
"cloudcontrolapp.com",
"co.ca", "co.ca",
"co.nl", "co.nl",
"co.no", "co.no",
...@@ -6043,7 +6135,13 @@ var rules = [...]string{ ...@@ -6043,7 +6135,13 @@ var rules = [...]string{
"webhop.org", "webhop.org",
"worse-than.tv", "worse-than.tv",
"writesthisblog.com", "writesthisblog.com",
"a.ssl.fastly.net",
"b.ssl.fastly.net",
"global.ssl.fastly.net",
"a.prod.fastly.net",
"global.prod.fastly.net",
"github.io", "github.io",
"ro.com",
"appspot.com", "appspot.com",
"blogspot.be", "blogspot.be",
"blogspot.bj", "blogspot.bj",
...@@ -6088,6 +6186,8 @@ var rules = [...]string{ ...@@ -6088,6 +6186,8 @@ var rules = [...]string{
"codespot.com", "codespot.com",
"googleapis.com", "googleapis.com",
"googlecode.com", "googlecode.com",
"herokuapp.com",
"herokussl.com",
"iki.fi", "iki.fi",
"biz.at", "biz.at",
"info.at", "info.at",
...@@ -6130,6 +6230,7 @@ var nodeLabels = [...]string{ ...@@ -6130,6 +6230,7 @@ var nodeLabels = [...]string{
"bg", "bg",
"bh", "bh",
"bi", "bi",
"bike",
"biz", "biz",
"bj", "bj",
"bm", "bm",
...@@ -6138,10 +6239,14 @@ var nodeLabels = [...]string{ ...@@ -6138,10 +6239,14 @@ var nodeLabels = [...]string{
"br", "br",
"bs", "bs",
"bt", "bt",
"buzz",
"bw", "bw",
"by", "by",
"bz", "bz",
"ca", "ca",
"camera",
"career",
"careers",
"cat", "cat",
"cc", "cc",
"cd", "cd",
...@@ -6151,10 +6256,13 @@ var nodeLabels = [...]string{ ...@@ -6151,10 +6256,13 @@ var nodeLabels = [...]string{
"ci", "ci",
"ck", "ck",
"cl", "cl",
"clothing",
"cm", "cm",
"cn", "cn",
"co", "co",
"com", "com",
"construction",
"contractors",
"coop", "coop",
"cr", "cr",
"cu", "cu",
...@@ -6164,6 +6272,8 @@ var nodeLabels = [...]string{ ...@@ -6164,6 +6272,8 @@ var nodeLabels = [...]string{
"cy", "cy",
"cz", "cz",
"de", "de",
"diamonds",
"directory",
"dj", "dj",
"dk", "dk",
"dm", "dm",
...@@ -6173,8 +6283,11 @@ var nodeLabels = [...]string{ ...@@ -6173,8 +6283,11 @@ var nodeLabels = [...]string{
"edu", "edu",
"ee", "ee",
"eg", "eg",
"enterprises",
"equipment",
"er", "er",
"es", "es",
"estate",
"et", "et",
"eu", "eu",
"fi", "fi",
...@@ -6183,7 +6296,9 @@ var nodeLabels = [...]string{ ...@@ -6183,7 +6296,9 @@ var nodeLabels = [...]string{
"fm", "fm",
"fo", "fo",
"fr", "fr",
"futbol",
"ga", "ga",
"gallery",
"gd", "gd",
"ge", "ge",
"gf", "gf",
...@@ -6197,14 +6312,18 @@ var nodeLabels = [...]string{ ...@@ -6197,14 +6312,18 @@ var nodeLabels = [...]string{
"gp", "gp",
"gq", "gq",
"gr", "gr",
"graphics",
"gs", "gs",
"gt", "gt",
"gu", "gu",
"guide",
"guru",
"gw", "gw",
"gy", "gy",
"hk", "hk",
"hm", "hm",
"hn", "hn",
"holdings",
"hr", "hr",
"ht", "ht",
"hu", "hu",
...@@ -6229,6 +6348,9 @@ var nodeLabels = [...]string{ ...@@ -6229,6 +6348,9 @@ var nodeLabels = [...]string{
"kg", "kg",
"kh", "kh",
"ki", "ki",
"kim",
"kitchen",
"kiwi",
"km", "km",
"kn", "kn",
"kp", "kp",
...@@ -6237,9 +6359,11 @@ var nodeLabels = [...]string{ ...@@ -6237,9 +6359,11 @@ var nodeLabels = [...]string{
"ky", "ky",
"kz", "kz",
"la", "la",
"land",
"lb", "lb",
"lc", "lc",
"li", "li",
"lighting",
"lk", "lk",
"lr", "lr",
"ls", "ls",
...@@ -6251,6 +6375,7 @@ var nodeLabels = [...]string{ ...@@ -6251,6 +6375,7 @@ var nodeLabels = [...]string{
"mc", "mc",
"md", "md",
"me", "me",
"menu",
"mg", "mg",
"mh", "mh",
"mil", "mil",
...@@ -6260,6 +6385,7 @@ var nodeLabels = [...]string{ ...@@ -6260,6 +6385,7 @@ var nodeLabels = [...]string{
"mn", "mn",
"mo", "mo",
"mobi", "mobi",
"monash",
"mp", "mp",
"mq", "mq",
"mr", "mr",
...@@ -6287,14 +6413,19 @@ var nodeLabels = [...]string{ ...@@ -6287,14 +6413,19 @@ var nodeLabels = [...]string{
"nu", "nu",
"nz", "nz",
"om", "om",
"onl",
"org", "org",
"otsuka",
"pa", "pa",
"pe", "pe",
"pf", "pf",
"pg", "pg",
"ph", "ph",
"photography",
"pink",
"pk", "pk",
"pl", "pl",
"plumbing",
"pm", "pm",
"pn", "pn",
"post", "post",
...@@ -6306,18 +6437,23 @@ var nodeLabels = [...]string{ ...@@ -6306,18 +6437,23 @@ var nodeLabels = [...]string{
"py", "py",
"qa", "qa",
"re", "re",
"reviews",
"ro", "ro",
"rs", "rs",
"ru", "ru",
"ruhr",
"rw", "rw",
"sa", "sa",
"sb", "sb",
"sc", "sc",
"sd", "sd",
"se", "se",
"sexy",
"sg", "sg",
"sh", "sh",
"shoes",
"si", "si",
"singles",
"sk", "sk",
"sl", "sl",
"sm", "sm",
...@@ -6330,18 +6466,22 @@ var nodeLabels = [...]string{ ...@@ -6330,18 +6466,22 @@ var nodeLabels = [...]string{
"sx", "sx",
"sy", "sy",
"sz", "sz",
"tattoo",
"tc", "tc",
"td", "td",
"technology",
"tel", "tel",
"tf", "tf",
"tg", "tg",
"th", "th",
"tips",
"tj", "tj",
"tk", "tk",
"tl", "tl",
"tm", "tm",
"tn", "tn",
"to", "to",
"today",
"tr", "tr",
"travel", "travel",
"tt", "tt",
...@@ -6351,23 +6491,37 @@ var nodeLabels = [...]string{ ...@@ -6351,23 +6491,37 @@ var nodeLabels = [...]string{
"ua", "ua",
"ug", "ug",
"uk", "uk",
"uno",
"us", "us",
"uy", "uy",
"uz", "uz",
"va", "va",
"vc", "vc",
"ve", "ve",
"ventures",
"vg", "vg",
"vi", "vi",
"vn", "vn",
"voyage",
"vu", "vu",
"wed",
"wf", "wf",
"ws", "ws",
"xn--3bst00m",
"xn--3ds443g",
"xn--3e0b707e", "xn--3e0b707e",
"xn--45brj9c", "xn--45brj9c",
"xn--4gbrim",
"xn--54b7fta0cc", "xn--54b7fta0cc",
"xn--6frz82g",
"xn--6qq986b3xl",
"xn--80asehdb",
"xn--80aswg",
"xn--90a3ac", "xn--90a3ac",
"xn--cg4bki",
"xn--clchc0ea0b2g2a9gcd", "xn--clchc0ea0b2g2a9gcd",
"xn--fiq228c5hs",
"xn--fiq64b",
"xn--fiqs8s", "xn--fiqs8s",
"xn--fiqz9s", "xn--fiqz9s",
"xn--fpcrj9c3d", "xn--fpcrj9c3d",
...@@ -6392,13 +6546,18 @@ var nodeLabels = [...]string{ ...@@ -6392,13 +6546,18 @@ var nodeLabels = [...]string{
"xn--mgbqly7c0a67fbc", "xn--mgbqly7c0a67fbc",
"xn--mgbqly7cvafr", "xn--mgbqly7cvafr",
"xn--mgbtf8fl", "xn--mgbtf8fl",
"xn--ngbc5azd",
"xn--nnx388a", "xn--nnx388a",
"xn--node", "xn--node",
"xn--o3cw4h", "xn--o3cw4h",
"xn--ogbpf8fl", "xn--ogbpf8fl",
"xn--p1ai", "xn--p1ai",
"xn--pgbs0dh", "xn--pgbs0dh",
"xn--q9jyb4c",
"xn--rhqv96g",
"xn--s9brj9c", "xn--s9brj9c",
"xn--unup4y",
"xn--vhquv",
"xn--wgbh1c", "xn--wgbh1c",
"xn--wgbl6a", "xn--wgbl6a",
"xn--xkc2al3hye2a", "xn--xkc2al3hye2a",
...@@ -6545,15 +6704,13 @@ var nodeLabels = [...]string{ ...@@ -6545,15 +6704,13 @@ var nodeLabels = [...]string{
"og", "og",
"pb", "pb",
"com", "com",
"congresodelalengua3", "edu",
"educ", "gob",
"gobiernoelectronico", "int",
"mecon", "mil",
"nacion", "net",
"nic", "org",
"promocion", "tur",
"retina",
"uba",
"blogspot", "blogspot",
"e164", "e164",
"in-addr", "in-addr",
...@@ -6574,6 +6731,7 @@ var nodeLabels = [...]string{ ...@@ -6574,6 +6731,7 @@ var nodeLabels = [...]string{
"asn", "asn",
"com", "com",
"conf", "conf",
"csiro",
"edu", "edu",
"gov", "gov",
"id", "id",
...@@ -6910,6 +7068,8 @@ var nodeLabels = [...]string{ ...@@ -6910,6 +7068,8 @@ var nodeLabels = [...]string{
"blogspot", "blogspot",
"br", "br",
"cechire", "cechire",
"cloudcontrolapp",
"cloudcontrolled",
"cn", "cn",
"codespot", "codespot",
"de", "de",
...@@ -6994,6 +7154,8 @@ var nodeLabels = [...]string{ ...@@ -6994,6 +7154,8 @@ var nodeLabels = [...]string{
"googlecode", "googlecode",
"gotdns", "gotdns",
"gr", "gr",
"herokuapp",
"herokussl",
"hobby-site", "hobby-site",
"homelinux", "homelinux",
"homeunix", "homeunix",
...@@ -7066,6 +7228,7 @@ var nodeLabels = [...]string{ ...@@ -7066,6 +7228,7 @@ var nodeLabels = [...]string{
"operaunite", "operaunite",
"qc", "qc",
"rhcloud", "rhcloud",
"ro",
"ru", "ru",
"sa", "sa",
"saves-the-whales", "saves-the-whales",
...@@ -7082,6 +7245,8 @@ var nodeLabels = [...]string{ ...@@ -7082,6 +7245,8 @@ var nodeLabels = [...]string{
"uy", "uy",
"writesthisblog", "writesthisblog",
"za", "za",
"compute",
"compute-1",
"elb", "elb",
"s3", "s3",
"s3-ap-northeast-1", "s3-ap-northeast-1",
...@@ -7102,6 +7267,17 @@ var nodeLabels = [...]string{ ...@@ -7102,6 +7267,17 @@ var nodeLabels = [...]string{
"s3-website-us-gov-west-1", "s3-website-us-gov-west-1",
"s3-website-us-west-1", "s3-website-us-west-1",
"s3-website-us-west-2", "s3-website-us-west-2",
"us-east-1",
"ap-northeast-1",
"ap-southeast-1",
"ap-southeast-2",
"eu-west-1",
"sa-east-1",
"us-gov-west-1",
"us-west-1",
"us-west-2",
"z-1",
"z-2",
"ac", "ac",
"co", "co",
"ed", "ed",
...@@ -10279,6 +10455,7 @@ var nodeLabels = [...]string{ ...@@ -10279,6 +10455,7 @@ var nodeLabels = [...]string{
"dynalias", "dynalias",
"dynathome", "dynathome",
"endofinternet", "endofinternet",
"fastly",
"from-az", "from-az",
"from-co", "from-co",
"from-la", "from-la",
...@@ -10309,6 +10486,13 @@ var nodeLabels = [...]string{ ...@@ -10309,6 +10486,13 @@ var nodeLabels = [...]string{
"uk", "uk",
"webhop", "webhop",
"za", "za",
"prod",
"ssl",
"a",
"global",
"a",
"b",
"global",
"arts", "arts",
"com", "com",
"firm", "firm",
...@@ -10319,12 +10503,15 @@ var nodeLabels = [...]string{ ...@@ -10319,12 +10503,15 @@ var nodeLabels = [...]string{
"rec", "rec",
"store", "store",
"web", "web",
"ac",
"com", "com",
"edu", "edu",
"gov", "gov",
"mil",
"mobi",
"name",
"net", "net",
"org", "org",
"sch",
"blogspot", "blogspot",
"bv", "bv",
"co", "co",
...@@ -11106,12 +11293,21 @@ var nodeLabels = [...]string{ ...@@ -11106,12 +11293,21 @@ var nodeLabels = [...]string{
"shacknet", "shacknet",
"co", "co",
"blogspot", "blogspot",
"co",
"com",
"edu",
"gov",
"med",
"mediaphone", "mediaphone",
"museum",
"nawras", "nawras",
"nawrastelecom", "nawrastelecom",
"net",
"omanmobile", "omanmobile",
"omanpost", "omanpost",
"omantel", "omantel",
"org",
"pro",
"rakpetroleum", "rakpetroleum",
"siemens", "siemens",
"songfest", "songfest",
...@@ -11727,6 +11923,11 @@ var nodeLabels = [...]string{ ...@@ -11727,6 +11923,11 @@ var nodeLabels = [...]string{
"principe", "principe",
"saotome", "saotome",
"store", "store",
"com",
"edu",
"gob",
"org",
"red",
"gov", "gov",
"com", "com",
"edu", "edu",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment