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.
This commit is contained in:
parent
9e59de9449
commit
781f276cc1
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ telling Microsoft that."
|
||||||
(let ((exp (url-cookie-expires cookie)))
|
(let ((exp (url-cookie-expires cookie)))
|
||||||
(and (> (length exp) 0)
|
(and (> (length exp) 0)
|
||||||
(condition-case ()
|
(condition-case ()
|
||||||
(time-less-p nil (date-to-time exp))
|
(time-less-p (date-to-time exp) nil)
|
||||||
(error nil)))))
|
(error nil)))))
|
||||||
|
|
||||||
(defun url-cookie-retrieve (host &optional localpart secure)
|
(defun url-cookie-retrieve (host &optional localpart secure)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue