1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00
emacs/lisp/url
Lars Ingebrigtsen 6252386378 (url-cookie-host-can-set-p): Protect against zero-length domains
* lisp/url/url-cookie.el (url-cookie-host-can-set-p): Protect
against zero-length domains.

Backtrace of a real-world site that triggers a bug:

Debugger entered--Lisp error: (args-out-of-range "" 0)
  url-cookie-host-can-set-p("www.washingtonpost.com" "")
  url-cookie-handle-set-cookie("utm_term=0;Expires=Thursday,
  01-January-1970 00:00:00 GMT; path=/; domain=")
  url-http-handle-cookies()
2017-06-07 16:17:47 +02:00
..
ChangeLog.1 ; Update contributor name 2017-05-06 18:38:18 -07:00
url-about.el
url-auth.el Initial implementation of HTTP Digest qop for url 2017-04-01 09:19:46 +03:00
url-cache.el Make the URL library use records. 2017-04-04 08:23:46 +02:00
url-cid.el
url-cookie.el (url-cookie-host-can-set-p): Protect against zero-length domains 2017-06-07 16:17:47 +02:00
url-dav.el Make the URL library use records. 2017-04-04 08:23:46 +02:00
url-dired.el
url-domsuf.el Fix obsolete ‘test/automated’ references 2017-03-27 11:30:08 -07:00
url-expand.el Make the URL library use records. 2017-04-04 08:23:46 +02:00
url-file.el Make the URL library use records. 2017-04-04 08:23:46 +02:00
url-ftp.el
url-future.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
url-gw.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
url-handlers.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
url-history.el
url-http.el Make the URL library use records. 2017-04-04 08:23:46 +02:00
url-imap.el Make the URL library use records. 2017-04-04 08:23:46 +02:00
url-irc.el
url-ldap.el Make the URL library use records. 2017-04-04 08:23:46 +02:00
url-mailto.el
url-methods.el
url-misc.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
url-news.el
url-nfs.el
url-ns.el
url-parse.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
url-privacy.el Remove references to OS/2 in code, doc, and comments 2017-04-08 13:16:08 -07:00
url-proxy.el
url-queue.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
url-tramp.el
url-util.el Simplify url-encode-url and add a test 2017-05-10 03:34:58 +03:00
url-vars.el Remove references to OS/2 in code, doc, and comments 2017-04-08 13:16:08 -07:00
url.el Remove references to OS/2 in code, doc, and comments 2017-04-08 13:16:08 -07:00