diff options
author | corvid <corvid@dillo.org> | 2013-09-24 15:14:54 +0000 |
---|---|---|
committer | corvid <corvid@dillo.org> | 2013-09-24 15:14:54 +0000 |
commit | 8de011d8d7357509c487b3de5e052dfc52730b2b (patch) | |
tree | 18d7c56a8137ce5a561a5e366f02c2320117777f | |
parent | 182c2f2371adc83fd250bc062bfe4c0e40754b2c (diff) |
our publicsuffix tld list grows even shorter
-rw-r--r-- | dpi/cookies.c | 11 | ||||
-rw-r--r-- | src/url.c | 11 |
2 files changed, 10 insertions, 12 deletions
diff --git a/dpi/cookies.c b/dpi/cookies.c index 95b2a9a3..32f2d5b9 100644 --- a/dpi/cookies.c +++ b/dpi/cookies.c @@ -1042,15 +1042,14 @@ static uint_t Cookies_internal_dots_required(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++) { @@ -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++) { |