From 314b25a508c739725216e73489bdc7106bc4dc5d Mon Sep 17 00:00:00 2001 From: Crist Date: Sat, 24 Jul 2021 17:23:49 +0800 Subject: [PATCH] update examples as .jp entry was updated in https://github.com/publicsuffix/list/commit/a59385243240510cf6bd7cffb2f59e07272f6785 --- list/index.html | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/list/index.html b/list/index.html index f5bf779..5c25f8c 100644 --- a/list/index.html +++ b/list/index.html @@ -95,38 +95,35 @@

             1. com
             
-            2. *.jp
-            // Hosts in .hokkaido.jp can't set cookies below level 4...
-            3. *.hokkaido.jp
-            4. *.tokyo.jp
-            // ...except hosts in pref.hokkaido.jp, which can set cookies at level 3.
-            5. !pref.hokkaido.jp
-            6. !metro.tokyo.jp
+            2. jp
+
+            3. kagoshima.jp
+
+            // Hosts in .sendai.jp can't set cookies below level 4...
+            4. *.sendai.jp
+            
+            // ...except hosts in city.sendai.jp, which can set cookies at level 3.
+            5. !city.sendai.jp
         

The example above would be interpreted as follows, in the case of cookie-setting, and using "foo" and "bar" as generic hostnames:

  1. - Cookies may be set for foo.com. -
  2. -
  3. - Cookies may be set for foo.bar.jp.
    - Cookies may not be set for bar.jp. + Cookies may be set for bar.com.
  4. - Cookies may be set for foo.bar.hokkaido.jp.
    - Cookies may not be set for bar.hokkaido.jp. + Cookies may be set for bar.jp.
  5. - Cookies may be set for foo.bar.tokyo.jp.
    - Cookies may not be set for bar.tokyo.jp. + Cookies may be set for bar.kagoshima.jp.
  6. - Cookies may be set for pref.hokkaido.jp because the exception overrides the previous rule. + Cookies may not be set for bar.sendai.jp.
    + Cookies may be set for foo.bar.sendai.jp.
  7. - Cookies may be set for metro.tokyo.jp, because the exception overrides the previous rule. + Cookies may be set for city.sendai.jp, because the exception overrides the previous rule.