From 8de011d8d7357509c487b3de5e052dfc52730b2b Mon Sep 17 00:00:00 2001 From: corvid Date: Tue, 24 Sep 2013 15:14:54 +0000 Subject: our publicsuffix tld list grows even shorter --- src/url.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/url.c') diff --git a/src/url.c b/src/url.c index c33bca00..6780ca8e 100644 --- a/src/url.c +++ b/src/url.c @@ -688,15 +688,14 @@ static uint_t Url_host_public_internal_dots(const char *host) if (tld_len > 0) { /* These TLDs were chosen by examining the current publicsuffix list - * in October 2012 and picking out those where it was simplest for + * in September 2013 and picking out those where it was simplest for * them to describe the situation by beginning with a "*.[tld]" rule * or every rule was "[something].[tld]". */ - const char *const tlds[] = {"ar","au","bd","bn","ck","cy","er","et", - "fj","fk","gt","gu","il","jm","ke","kh", - "kp","kw","lb","lr","mm","mt","mz","ni", - "np","nz","om","pg","py","sv","tr","uk", - "ve","ye","za","zm","zw"}; + const char *const tlds[] = {"au","bd","bn","ck","cy","er","et","fj", + "fk","gn","gu","il","jm","ke","kh","kp", + "kw","lb","lr","mm","mt","mz","ni","np", + "nz","pg","tr","uk","ye","za","zm","zw"}; uint_t i, tld_num = sizeof(tlds) / sizeof(tlds[0]); for (i = 0; i < tld_num; i++) { -- cgit v1.2.3