* etc/publicsuffix.txt: Update from source.
* lisp/url/url-domsuf.el: Update example comments.
This commit is contained in:
parent
fe9f42eb6e
commit
50ccef4f27
3 changed files with 3972 additions and 627 deletions
|
@ -1,3 +1,7 @@
|
|||
2014-06-27 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* publicsuffix.txt: Update from source.
|
||||
|
||||
2014-06-08 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* themes/deeper-blue-theme.el: Use another fix. (Bug#17695)
|
||||
|
|
4582
etc/publicsuffix.txt
4582
etc/publicsuffix.txt
File diff suppressed because it is too large
Load diff
|
@ -72,11 +72,11 @@
|
|||
((and (null modifier)
|
||||
(string= domain entry))
|
||||
(setq allowedp nil))
|
||||
;; "!pref.hokkaido.jp"
|
||||
;; "!city.yokohama.jp"
|
||||
((and (eq modifier t)
|
||||
(string= domain entry))
|
||||
(setq allowedp t))
|
||||
;; "*.ar"
|
||||
;; "*.bd"
|
||||
((and (numberp modifier)
|
||||
(= length modifier)
|
||||
(string= entry upper-domain))
|
||||
|
@ -85,13 +85,14 @@
|
|||
|
||||
;; Tests:
|
||||
|
||||
;; TODO convert to a proper test/automated test.
|
||||
;; (url-domsuf-cookie-allowed-p "com") => nil
|
||||
;; (url-domsuf-cookie-allowed-p "foo.bar.ar") => t
|
||||
;; (url-domsuf-cookie-allowed-p "bar.ar") => nil
|
||||
;; (url-domsuf-cookie-allowed-p "foo.bar.bd") => t
|
||||
;; (url-domsuf-cookie-allowed-p "bar.bd") => nil
|
||||
;; (url-domsuf-cookie-allowed-p "co.uk") => nil
|
||||
;; (url-domsuf-cookie-allowed-p "foo.bar.hokkaido.jo") => t
|
||||
;; (url-domsuf-cookie-allowed-p "bar.hokkaido.jp") => nil
|
||||
;; (url-domsuf-cookie-allowed-p "pref.hokkaido.jp") => t
|
||||
;; (url-domsuf-cookie-allowed-p "bar.yokohama.jp") => nil
|
||||
;; (url-domsuf-cookie-allowed-p "city.yokohama.jp") => t
|
||||
|
||||
(provide 'url-domsuf)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue