Skip to content

Commit ddf80d0

Browse files
vdoblerbradfitz
authored andcommitted
publicsuffix: update table to latest list from publicsuffix.org
Update the list to revision f47d806df99585862c8426c3e064a50eb5a278f5 (2017-06-14T11:49:01Z). The rules for the TLD zw changed thus changing the tests to bd which has the same rule as the old zw TLD. Change-Id: Ic4ed6eaeb3e97d20c50f44a4934576fa3f0393d7 Reviewed-on: https://go-review.googlesource.com/45731 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
1 parent 6b17b9b commit ddf80d0

File tree

3 files changed

+9453
-9015
lines changed

3 files changed

+9453
-9015
lines changed

publicsuffix/list_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,13 @@ var publicSuffixTestCases = []struct {
216216
{"aaa.xn--p1ai", "xn--p1ai"},
217217
{"www.xxx.yyy.xn--p1ai", "xn--p1ai"},
218218

219-
// The .zw rules are:
220-
// *.zw
221-
{"zw", "zw"},
222-
{"www.zw", "www.zw"},
223-
{"zzz.zw", "zzz.zw"},
224-
{"www.zzz.zw", "zzz.zw"},
225-
{"www.xxx.yyy.zzz.zw", "zzz.zw"},
219+
// The .bd rules are:
220+
// *.bd
221+
{"bd", "bd"},
222+
{"www.bd", "www.bd"},
223+
{"zzz.bd", "zzz.bd"},
224+
{"www.zzz.bd", "zzz.bd"},
225+
{"www.xxx.yyy.zzz.bd", "zzz.bd"},
226226

227227
// There are no .nosuchtld rules.
228228
{"nosuchtld", "nosuchtld"},

0 commit comments

Comments
 (0)