Commit ddf80d09 authored by Volker Dobler's avatar Volker Dobler Committed by Brad Fitzpatrick

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: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 6b17b9ba
......@@ -216,13 +216,13 @@ var publicSuffixTestCases = []struct {
{"aaa.xn--p1ai", "xn--p1ai"},
{"www.xxx.yyy.xn--p1ai", "xn--p1ai"},
// The .zw rules are:
// *.zw
{"zw", "zw"},
{"www.zw", "www.zw"},
{"zzz.zw", "zzz.zw"},
{"www.zzz.zw", "zzz.zw"},
{"www.xxx.yyy.zzz.zw", "zzz.zw"},
// The .bd rules are:
// *.bd
{"bd", "bd"},
{"www.bd", "www.bd"},
{"zzz.bd", "zzz.bd"},
{"www.zzz.bd", "zzz.bd"},
{"www.xxx.yyy.zzz.bd", "zzz.bd"},
// There are no .nosuchtld rules.
{"nosuchtld", "nosuchtld"},
......
This diff is collapsed.
This diff is collapsed.
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