changeset 1510:f08bcca10105

cookies update TLDs
author corvid <corvid@lavabit.com>
date Sun, 10 Jan 2010 23:38:48 +0000
parents 760d31f49672
children df7b789ea491
files dpi/cookies.c
diffstat 1 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/cookies.c	Sun Jan 10 20:19:14 2010 +0000
+++ b/dpi/cookies.c	Sun Jan 10 23:38:48 2010 +0000
@@ -893,10 +893,16 @@
       tld_len = after - start;
 
       if (tld_len > 0) {
-         const char *const tlds[] = {"ai","au","bd","bh","ck","eg","et","fk",
-                                     "il","in","kh","kr","mk","mt","na","np",
-                                     "nz","pg","pk","qa","sa","sb","sg","sv",
-                                    "ua","ug","uk","uy","vn","za","zw","name"};
+         /* These TLDs were chosen by examining the current publicsuffix list
+          * in January 2010 and picking out those where it was simplest for
+          * them to describe the situation by beginning with a "*.[tld]" rule.
+          */
+         const char *const tlds[] = {"ar","au","bd","bn","bt","ck","cy","do",
+                                     "eg","er","et","fj","fk","gt","gu","id",
+                                     "il","jm","ke","kh","kw","ml","mm","mt",
+                                     "mz","ni","np","nz","om","pg","py","qa",
+                                     "sv","tr","uk","uy","ve","ye","yu","za",
+                                     "zm","zw"};
          uint_t i, tld_num = sizeof(tlds) / sizeof(tlds[0]);
 
          for (i = 0; i < tld_num; i++) {