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
..
2017-05-06 18:38:18 -07:00
2016-12-31 19:42:26 -08:00
2017-04-01 09:19:46 +03:00
2017-04-04 08:23:46 +02:00
2016-12-31 19:42:26 -08:00
2017-06-07 16:17:47 +02:00
2017-04-04 08:23:46 +02:00
2016-12-31 19:42:26 -08:00
2017-03-27 11:30:08 -07:00
2017-04-04 08:23:46 +02:00
2017-04-04 08:23:46 +02:00
2016-12-31 19:42:26 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2016-12-31 19:42:26 -08:00
2017-04-04 08:23:46 +02:00
2017-04-04 08:23:46 +02:00
2016-12-31 19:42:26 -08:00
2017-04-04 08:23:46 +02:00
2016-12-31 19:42:26 -08:00
2016-12-31 19:42:26 -08:00
2017-01-01 01:10:47 -08:00
2016-12-31 19:42:26 -08:00
2016-12-31 19:42:26 -08:00
2016-12-31 19:42:26 -08:00
2017-01-01 01:10:47 -08:00
2017-04-08 13:16:08 -07:00
2016-12-31 19:42:26 -08:00
2017-01-01 01:10:47 -08:00
2016-12-31 19:42:26 -08:00
2017-05-10 03:34:58 +03:00
2017-04-08 13:16:08 -07:00
2017-04-08 13:16:08 -07:00