From 01dd7d78783f5c7ae494479d6e27c2e23502b8f4 Mon Sep 17 00:00:00 2001 From: Jothan Frakes Date: Sat, 5 Jun 2021 20:51:17 -0700 Subject: [PATCH 1/2] newgtlds.go : update Autopull - Added URL for the IANA PSL for #1325 Only change is to add a URL to the IANA TLD txt file and some comment lines to add context. Doesn't solve #1325 but helps identify the resource to use. --- tools/newgtlds.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/newgtlds.go b/tools/newgtlds.go index 750a661d7..9e1910d2b 100644 --- a/tools/newgtlds.go +++ b/tools/newgtlds.go @@ -22,6 +22,10 @@ const ( // 2). See https://www.icann.org/resources/pages/registries/registries-en for // more information. ICANN_GTLD_JSON_URL = "https://www.icann.org/resources/registries/gtlds/v2/gtlds.json" + // IANA_TLDS_TXT_URL is the URL for the IANA "Public Suffix List" of TLDs + // in the ICP-3 Root - including new ccTLDs, EBRERO gTLDS or things not in + // the JSON File above that should be included inthe PSL. Note: UPPERCASE + IANA_TLDS_TXT_URL = "http://data.iana.org/TLD/tlds-alpha-by-domain.txt" // PSL_GTLDS_SECTION_HEADER marks the start of the newGTLDs section of the // overall public suffix dat file. PSL_GTLDS_SECTION_HEADER = "// newGTLDs" From b024cf4b9d80158744c2dc0d7486da2d6802d9ce Mon Sep 17 00:00:00 2001 From: Jothan Frakes Date: Mon, 7 Jun 2021 01:54:48 -0700 Subject: [PATCH 2/2] Update tools/newgtlds.go Co-authored-by: Daniel McCarney --- tools/newgtlds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/newgtlds.go b/tools/newgtlds.go index 9e1910d2b..2177af86d 100644 --- a/tools/newgtlds.go +++ b/tools/newgtlds.go @@ -24,7 +24,7 @@ const ( ICANN_GTLD_JSON_URL = "https://www.icann.org/resources/registries/gtlds/v2/gtlds.json" // IANA_TLDS_TXT_URL is the URL for the IANA "Public Suffix List" of TLDs // in the ICP-3 Root - including new ccTLDs, EBRERO gTLDS or things not in - // the JSON File above that should be included inthe PSL. Note: UPPERCASE + // the JSON File above that should be included in the PSL. Note: UPPERCASE IANA_TLDS_TXT_URL = "http://data.iana.org/TLD/tlds-alpha-by-domain.txt" // PSL_GTLDS_SECTION_HEADER marks the start of the newGTLDs section of the // overall public suffix dat file.