Commit 50ccef4f authored by Glenn Morris's avatar Glenn Morris

* etc/publicsuffix.txt: Update from source.

* lisp/url/url-domsuf.el: Update example comments.
parent fe9f42eb
2014-06-27 Glenn Morris <rgm@gnu.org>
* publicsuffix.txt: Update from source.
2014-06-08 Leo Liu <sdl.web@gmail.com> 2014-06-08 Leo Liu <sdl.web@gmail.com>
* themes/deeper-blue-theme.el: Use another fix. (Bug#17695) * themes/deeper-blue-theme.el: Use another fix. (Bug#17695)
......
This diff is collapsed.
...@@ -72,11 +72,11 @@ ...@@ -72,11 +72,11 @@
((and (null modifier) ((and (null modifier)
(string= domain entry)) (string= domain entry))
(setq allowedp nil)) (setq allowedp nil))
;; "!pref.hokkaido.jp" ;; "!city.yokohama.jp"
((and (eq modifier t) ((and (eq modifier t)
(string= domain entry)) (string= domain entry))
(setq allowedp t)) (setq allowedp t))
;; "*.ar" ;; "*.bd"
((and (numberp modifier) ((and (numberp modifier)
(= length modifier) (= length modifier)
(string= entry upper-domain)) (string= entry upper-domain))
...@@ -85,13 +85,14 @@ ...@@ -85,13 +85,14 @@
;; Tests: ;; Tests:
;; TODO convert to a proper test/automated test.
;; (url-domsuf-cookie-allowed-p "com") => nil ;; (url-domsuf-cookie-allowed-p "com") => nil
;; (url-domsuf-cookie-allowed-p "foo.bar.ar") => t ;; (url-domsuf-cookie-allowed-p "foo.bar.bd") => t
;; (url-domsuf-cookie-allowed-p "bar.ar") => nil ;; (url-domsuf-cookie-allowed-p "bar.bd") => nil
;; (url-domsuf-cookie-allowed-p "co.uk") => nil ;; (url-domsuf-cookie-allowed-p "co.uk") => nil
;; (url-domsuf-cookie-allowed-p "foo.bar.hokkaido.jo") => t ;; (url-domsuf-cookie-allowed-p "foo.bar.hokkaido.jo") => t
;; (url-domsuf-cookie-allowed-p "bar.hokkaido.jp") => nil ;; (url-domsuf-cookie-allowed-p "bar.yokohama.jp") => nil
;; (url-domsuf-cookie-allowed-p "pref.hokkaido.jp") => t ;; (url-domsuf-cookie-allowed-p "city.yokohama.jp") => t
(provide 'url-domsuf) (provide 'url-domsuf)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment