From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#29223: 26.0.90; [Regression][Emacs26] Problem in network stack Date: Wed, 8 Nov 2017 21:32:49 -0800 Organization: UCLA Computer Science Department Message-ID: <5b859e12-fab0-f288-bc7b-6da82fb6c55c@cs.ucla.edu> References: <87tvy458vp.fsf@cassou.me> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------0A50B708F784172843CBEA16" X-Trace: blaine.gmane.org 1510205652 2529 195.159.176.226 (9 Nov 2017 05:34:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Nov 2017 05:34:12 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 Cc: Nicolas Petton To: damien@cassou.me, 29223@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 09 06:34:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCfTY-0000N8-RE for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Nov 2017 06:34:05 +0100 Original-Received: from localhost ([::1]:35173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCfTf-0001Yr-D5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Nov 2017 00:34:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCfTZ-0001Yj-HL for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2017 00:34:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCfTW-0001A9-DZ for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2017 00:34:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50636) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCfTW-0001A1-9g for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2017 00:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eCfTV-0005Ec-Vs for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2017 00:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Nov 2017 05:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29223 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Damien Cassou , bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.151020558820060 (code B ref -1); Thu, 09 Nov 2017 05:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Nov 2017 05:33:08 +0000 Original-Received: from localhost ([127.0.0.1]:59317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCfSe-0005DT-CD for submit@debbugs.gnu.org; Thu, 09 Nov 2017 00:33:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCfSc-0005Cx-0a for submit@debbugs.gnu.org; Thu, 09 Nov 2017 00:33:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCfSV-0000wO-W6 for submit@debbugs.gnu.org; Thu, 09 Nov 2017 00:33:00 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eCfSV-0000wK-Te for submit@debbugs.gnu.org; Thu, 09 Nov 2017 00:32:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCfSU-0001Wz-R0 for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2017 00:32:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCfSQ-0000tm-TI for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2017 00:32:58 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:52308) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eCfSQ-0000sw-MA for bug-gnu-emacs@gnu.org; Thu, 09 Nov 2017 00:32:54 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1A41F16087C; Wed, 8 Nov 2017 21:32:51 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id TFQQuCqZUO3E; Wed, 8 Nov 2017 21:32:50 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 525FB160887; Wed, 8 Nov 2017 21:32:50 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JCEKQgL-rNcD; Wed, 8 Nov 2017 21:32:50 -0800 (PST) Original-Received: from [192.168.1.9] (unknown [47.154.30.119]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 2DD4816087C; Wed, 8 Nov 2017 21:32:50 -0800 (PST) In-Reply-To: <87tvy458vp.fsf@cassou.me> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139652 Archived-At: This is a multi-part message in MIME format. --------------0A50B708F784172843CBEA16 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Thanks for reporting the problem. I installed the attached patch into the= =20 emacs-26 branch; please give it a try. --------------0A50B708F784172843CBEA16 Content-Type: text/x-patch; name="0001-Fix-URL-cookie-expiration-bug.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-Fix-URL-cookie-expiration-bug.patch" =46rom 781f276cc12a204ec7db9ffd30d22a9a18c0fe94 Mon Sep 17 00:00:00 2001 From: Paul Eggert 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))))) =20 (defun url-cookie-retrieve (host &optional localpart secure) --=20 2.7.4 --------------0A50B708F784172843CBEA16--