[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 781f276: Fix URL cookie expiration bug
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] emacs-26 781f276: Fix URL cookie expiration bug |
Date: |
Thu, 9 Nov 2017 00:31:16 -0500 (EST) |
branch: emacs-26
commit 781f276cc12a204ec7db9ffd30d22a9a18c0fe94
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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 @@ telling Microsoft that."
(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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 781f276: Fix URL cookie expiration bug,
Paul Eggert <=