summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <corvid@dillo.org>2014-02-02 15:30:49 +0000
committercorvid <corvid@dillo.org>2014-02-02 15:30:49 +0000
commit76e1bd77ca2905f185b2363c589b77840687168d (patch)
tree86f7f57deeebb152c14a652c70166232e4414a68
parent2d9a9d80894d673a99522dd33ae27da2bc432dda (diff)
our simplistic TLD list grows more and more worthless
-rw-r--r--dpi/cookies.c10
-rw-r--r--src/url.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/dpi/cookies.c b/dpi/cookies.c
index 32f2d5b9..6c5e958e 100644
--- a/dpi/cookies.c
+++ b/dpi/cookies.c
@@ -1042,14 +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 September 2013 and picking out those where it was simplest for
+ * in February 2014 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[] = {"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"};
+ const char *const tlds[] = {"bd","bn","ck","cy","er","et","fj","fk",
+ "gu","il","jm","ke","kh","kw","mm","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++) {
diff --git a/src/url.c b/src/url.c
index 6780ca8e..9d3e14b2 100644
--- a/src/url.c
+++ b/src/url.c
@@ -688,14 +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 September 2013 and picking out those where it was simplest for
+ * in February 2014 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[] = {"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"};
+ const char *const tlds[] = {"bd","bn","ck","cy","er","et","fj","fk",
+ "gu","il","jm","ke","kh","kw","mm","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++) {