GNU bug report logs - #19798
24.4; eww-mode error in process sentinel 'Invalid date' when receiving a valid date

Previous Next

Package: emacs;

Reported by: Matthew Carter <m <at> ahungry.com>

Date: Sat, 7 Feb 2015 08:15:02 UTC

Severity: normal

Found in version 24.4

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matthew Carter <m <at> ahungry.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4;
 eww-mode error in process sentinel 'Invalid date' when receiving a
 valid date
Date: Fri, 06 Feb 2015 23:49:18 -0500
When running eww-mode and visiting a site using a cookie expiration date
set to "Mon, 06 Mar 2130 20:55:03 GMT" eww-mode will fail to load
subsequent URLs on the domain (in this case http://ahungry.com) and
instead simply print the following message in the echo area:

error in process sentinel: Invalid date: Mon, 06 Mar 2130 20:55:03 GMT

According to Wikipedia and other sources I can find online regarding the
HTTP cookie expires field, this date format is valid
(https://en.wikipedia.org/wiki/HTTP_cookie) and should not be causing 
an error in the process sentinel (and even if some site sent an invalid
date, I don't think it should halt further site interaction, but either
ignore the invalid date, or ignore the cookie).

Steps to reproduce under emacs -Q:

eww
ahungry.com
RET
TAB
TAB
RET

You'll then see the error pop up (instead of visiting the Blog link on
the site).

-- 
Matthew Carter (m <at> ahungry.com)
http://ahungry.com




This bug report was last modified 10 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.