Subject: Re: 26.0.90; [Regression][Emacs26] Problem in network stack

From: Paul Eggert <[email-masked]>
Date: Wed, 8 Nov 2017 21:32:49 -0800

Thanks for reporting the problem. I installed the attached patch into the 
emacs-26 branch; please give it a try.
From 781f276cc12a204ec7db9ffd30d22a9a18c0fe94 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[email-masked]>
Date: Wed, 8 Nov 2017 21:30:26 -0800
Subject: [PATCH] Fix URL cookie expiration bug

Problem reported by Damien Cassou (Bug#29223).
* lisp/url/url-cookie.el (url-cookie-expired-p):
Fix typo in previous change, which caused unexpired cookies
to be treated as expired and vice versa.
---
 lisp/url/url-cookie.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/url/url-cookie.el b/lisp/url/url-cookie.el
index 28dfced..d922033 100644
--- a/lisp/url/url-cookie.el
+++ b/lisp/url/url-cookie.el
@@ -161,7 +161,7 @@ url-cookie-expired-p
   (let ((exp (url-cookie-expires cookie)))
     (and (> (length exp) 0)
 	 (condition-case ()
-	     (time-less-p nil (date-to-time exp))
+	     (time-less-p (date-to-time exp) nil)
 	   (error nil)))))
 
 (defun url-cookie-retrieve (host &optional localpart secure)
-- 
2.7.4