* bug#18176: 24.4.50; Errors on dates far in the future in url.el
@ 2014-08-02 23:18 Lars Magne Ingebrigtsen
2014-08-03 2:22 ` Glenn Morris
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-08-02 23:18 UTC (permalink / raw)
To: 18176
Debugger entered--Lisp error: (error "Invalid date: 31-Dec-9999 23:59:59.00 GMT")
signal(error ("Invalid date: 31-Dec-9999 23:59:59.00 GMT"))
error("Invalid date: %s" "31-Dec-9999 23:59:59.00 GMT")
(condition-case nil (apply (quote encode-time) (parse-time-string (timezone-make-date-arpa-standard date))) (error (error "Invalid date: %s" date)))
(condition-case nil (apply (quote encode-time) (parse-time-string date)) (error (condition-case nil (apply (quote encode-time) (parse-time-string (timezone-make-date-arpa-standard date))) (error (error "Invalid date: %s" date)))))
date-to-time("31-Dec-9999 23:59:59.00 GMT")
url-cookie-expired-p([url-cookie "CheezySplits" "SplitTestingPID=dba40051-b06e-49f7-ad9f-5e53725c60e6" "31-Dec-9999 23:59:59.00 GMT" "/" ".cheezburger.com" nil])
url-cookie-retrieve("cheezburger.com" "/8273908992?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+ICanHasCheezburger+%28I+CAN+HAS+CHEEZBURGER%29" nil)
url-cookie-generate-header-lines("cheezburger.com" "/8273908992?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+ICanHasCheezburger+%28I+CAN+HAS+CHEEZBURGER%29" nil)
url-http-create-request()
byte-code("\301\b\302 \"\207" [proc process-send-string url-http-create-request] 3)
url-http-async-sentinel(#<process cheezburger.com<4>> "open\n")
The url-cookie function should either ignore invalid dates, or
date-to-time should understand dates after 2037. Or both. Which would
be best.
In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
of 2014-06-09 on stories
Repository revision: 117291 rgm@gnu.org-20140608234143-lxs3ijcc3exkcomq
Windowing system distributor `Fedora Project', version 11.0.11404000
System Description: Debian GNU/Linux 7.0 (wheezy)
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GSETTINGS NOTIFY GNUTLS
LIBXML2 FREETYPE LIBOTF XFT ZLIB
Important settings:
value of $LANG: en_US
locale-coding-system: iso-latin-1-unix
Major mode: Article
Minor modes in effect:
shell-dirtrack-mode: t
tooltip-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
line-number-mode: t
Recent input:
u u <down-mouse-1> <mouse-movement> <mouse-1> <help-echo>
q s <down-mouse-1> <mouse-1> g <up> <up> <up> <up>
<up> s <down-mouse-1> <mouse-1> g <next> <up> <down>
<down> <down> <down> <down> <down> <down> <down> <up>
<return> <return> h h h q <return> <return> q l <return>
<return> SPC q l s <down> <return> <return> h h q <return>
<return> n n q l s . s <down-mouse-1> <mouse-1> g <down-mouse-1>
<mouse-1> g g g g g <down-mouse-1> <mouse-1> g <down-mouse-1>
<mouse-1> g <down-mouse-1> <mouse-movement> <mouse-1>
g <down-mouse-1> <mouse-1> g s <down-mouse-1> <mouse-1>
g <down-mouse-1> <mouse-1> g <down-mouse-1> <mouse-movement>
<mouse-1> g <down-mouse-1> <mouse-1> g <down-mouse-1>
<mouse-1> g <down-mouse-1> <mouse-1> g . <return> d
q <next> <down> <down> <down> <down> <down> <down>
<down> <down> <up> <return> <return> q <up> <up> <return>
<return> h M-> <up> <up> <up> u u <down-mouse-1> <mouse-1>
<up> <up> <up> w w M-: 9 s t <backspace> <backspace>
<backspace> ( s e t q SPC d e b u g - o n - e r r o
r SPC t ) <return> w q C-x C-f C-a C-k ~ / m g <tab>
l i <tab> <return> M-x g r e p <return> c o o k i e
SPC * . e l <return> C-x o <down> <down> <down> <down>
C-e <left> C-x C-e q <next> <prior> q H-o H-o C-x b
<return> w <down-mouse-1> <mouse-movement> <mouse-1>
h u SPC SPC n q SPC q SPC q n n n SPC h M-> <up> <up>
<up> u q <down-mouse-1> <mouse-movement> <mouse-1>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <down> <down> <return> <return> h h h M-> <up>
<up> <up> <return> <down> <down> <down> <down> <down>
C-a C-SPC <down> <down> M-w M-< M-> M-w q M-x r e p
o <tab> r <tab> b <tab> <return>
Recent messages:
Mark set
Copied http://liartownusa.tumblr.com/post/93615083800
No more unseen articles
No more unread articles
Mark set
Contacting host: feedproxy.google.com:80
Entering debugger...
Mark set [3 times]
Back to top level.
Making completion list...
Load-path shadows:
/home/larsi/mgnus/lisp/compface hides ~/pgnus/contrib/compface
/home/larsi/src/clock.el/clock hides /home/larsi/lisp/clock
/home/larsi/src/cddb.el/expect hides /home/larsi/lisp/expect
/home/larsi/src/pvr.el/pvr hides /home/larsi/lisp/pvr
~/pgnus/contrib/vcard hides /home/larsi/lisp/vcard
/home/larsi/src/cddb.el/captitle hides /home/larsi/lisp/captitle
~/lisp/zenirc-2.112/src/zenirc-example hides /home/larsi/lisp/zenirc-example
/home/larsi/mgnus/lisp/format-spec hides /home/larsi/src/emacs/trunk/lisp/format-spec
/home/larsi/mgnus/lisp/hex-util hides /home/larsi/src/emacs/trunk/lisp/hex-util
/home/larsi/mgnus/lisp/color hides /home/larsi/src/emacs/trunk/lisp/color
/home/larsi/mgnus/lisp/md4 hides /home/larsi/src/emacs/trunk/lisp/md4
/home/larsi/mgnus/lisp/password-cache hides /home/larsi/src/emacs/trunk/lisp/password-cache
/home/larsi/mgnus/lisp/dns-mode hides /home/larsi/src/emacs/trunk/lisp/textmodes/dns-mode
/home/larsi/mgnus/lisp/sasl-ntlm hides /home/larsi/src/emacs/trunk/lisp/net/sasl-ntlm
/home/larsi/mgnus/lisp/dns hides /home/larsi/src/emacs/trunk/lisp/net/dns
/home/larsi/mgnus/lisp/hmac-def hides /home/larsi/src/emacs/trunk/lisp/net/hmac-def
/home/larsi/mgnus/lisp/ntlm hides /home/larsi/src/emacs/trunk/lisp/net/ntlm
/home/larsi/mgnus/lisp/tls hides /home/larsi/src/emacs/trunk/lisp/net/tls
/home/larsi/mgnus/lisp/sasl-digest hides /home/larsi/src/emacs/trunk/lisp/net/sasl-digest
/home/larsi/mgnus/lisp/netrc hides /home/larsi/src/emacs/trunk/lisp/net/netrc
/home/larsi/mgnus/lisp/sasl-cram hides /home/larsi/src/emacs/trunk/lisp/net/sasl-cram
/home/larsi/mgnus/lisp/hmac-md5 hides /home/larsi/src/emacs/trunk/lisp/net/hmac-md5
/home/larsi/mgnus/lisp/dig hides /home/larsi/src/emacs/trunk/lisp/net/dig
/home/larsi/mgnus/lisp/sasl hides /home/larsi/src/emacs/trunk/lisp/net/sasl
/home/larsi/mgnus/lisp/uudecode hides /home/larsi/src/emacs/trunk/lisp/mail/uudecode
/home/larsi/mgnus/lisp/hashcash hides /home/larsi/src/emacs/trunk/lisp/mail/hashcash
/home/larsi/mgnus/lisp/binhex hides /home/larsi/src/emacs/trunk/lisp/mail/binhex
/home/larsi/mgnus/lisp/nndoc hides /home/larsi/src/emacs/trunk/lisp/gnus/nndoc
/home/larsi/mgnus/lisp/mm-partial hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-partial
/home/larsi/mgnus/lisp/gnus-srvr hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-srvr
/home/larsi/mgnus/lisp/mailcap hides /home/larsi/src/emacs/trunk/lisp/gnus/mailcap
/home/larsi/mgnus/lisp/gnus-range hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-range
/home/larsi/mgnus/lisp/rfc1843 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc1843
/home/larsi/mgnus/lisp/nneething hides /home/larsi/src/emacs/trunk/lisp/gnus/nneething
/home/larsi/mgnus/lisp/gnus-logic hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-logic
/home/larsi/mgnus/lisp/spam-wash hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-wash
/home/larsi/mgnus/lisp/gnus-cloud hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cloud
/home/larsi/mgnus/lisp/nnmail hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmail
/home/larsi/mgnus/lisp/nnmbox hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmbox
/home/larsi/mgnus/lisp/gssapi hides /home/larsi/src/emacs/trunk/lisp/gnus/gssapi
/home/larsi/mgnus/lisp/gnus-agent hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-agent
/home/larsi/mgnus/lisp/mail-parse hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-parse
/home/larsi/mgnus/lisp/mml-smime hides /home/larsi/src/emacs/trunk/lisp/gnus/mml-smime
/home/larsi/mgnus/lisp/gnus-msg hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-msg
/home/larsi/mgnus/lisp/gnus-icalendar hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-icalendar
/home/larsi/mgnus/lisp/gnus-fun hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-fun
/home/larsi/mgnus/lisp/mail-source hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-source
/home/larsi/mgnus/lisp/mm-encode hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-encode
/home/larsi/mgnus/lisp/gnus-cache hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cache
/home/larsi/mgnus/lisp/mm-util hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-util
/home/larsi/mgnus/lisp/mm-archive hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-archive
/home/larsi/mgnus/lisp/nnnil hides /home/larsi/src/emacs/trunk/lisp/gnus/nnnil
/home/larsi/mgnus/lisp/mml2015 hides /home/larsi/src/emacs/trunk/lisp/gnus/mml2015
/home/larsi/mgnus/lisp/nnoo hides /home/larsi/src/emacs/trunk/lisp/gnus/nnoo
/home/larsi/mgnus/lisp/messcompat hides /home/larsi/src/emacs/trunk/lisp/gnus/messcompat
/home/larsi/mgnus/lisp/gnus-sync hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sync
/home/larsi/mgnus/lisp/nnweb hides /home/larsi/src/emacs/trunk/lisp/gnus/nnweb
/home/larsi/mgnus/lisp/nnrss hides /home/larsi/src/emacs/trunk/lisp/gnus/nnrss
/home/larsi/mgnus/lisp/legacy-gnus-agent hides /home/larsi/src/emacs/trunk/lisp/gnus/legacy-gnus-agent
/home/larsi/mgnus/lisp/nnspool hides /home/larsi/src/emacs/trunk/lisp/gnus/nnspool
/home/larsi/mgnus/lisp/compface hides /home/larsi/src/emacs/trunk/lisp/gnus/compface
/home/larsi/mgnus/lisp/smime hides /home/larsi/src/emacs/trunk/lisp/gnus/smime
/home/larsi/mgnus/lisp/ietf-drums hides /home/larsi/src/emacs/trunk/lisp/gnus/ietf-drums
/home/larsi/mgnus/lisp/yenc hides /home/larsi/src/emacs/trunk/lisp/gnus/yenc
/home/larsi/mgnus/lisp/gnus-delay hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-delay
/home/larsi/mgnus/lisp/gnus-async hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-async
/home/larsi/mgnus/lisp/nnmh hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmh
/home/larsi/mgnus/lisp/mm-url hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-url
/home/larsi/mgnus/lisp/gnus-picon hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-picon
/home/larsi/mgnus/lisp/gnus-bookmark hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-bookmark
/home/larsi/mgnus/lisp/gnus-diary hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-diary
/home/larsi/mgnus/lisp/html2text hides /home/larsi/src/emacs/trunk/lisp/gnus/html2text
/home/larsi/mgnus/lisp/nndraft hides /home/larsi/src/emacs/trunk/lisp/gnus/nndraft
/home/larsi/mgnus/lisp/auth-source hides /home/larsi/src/emacs/trunk/lisp/gnus/auth-source
/home/larsi/mgnus/lisp/gnus-bcklg hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-bcklg
/home/larsi/mgnus/lisp/gnus-win hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-win
/home/larsi/mgnus/lisp/gnus-salt hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-salt
/home/larsi/mgnus/lisp/rfc2045 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2045
/home/larsi/mgnus/lisp/gnus-draft hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-draft
/home/larsi/mgnus/lisp/gnus-spec hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-spec
/home/larsi/mgnus/lisp/nnir hides /home/larsi/src/emacs/trunk/lisp/gnus/nnir
/home/larsi/mgnus/lisp/mm-uu hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-uu
/home/larsi/mgnus/lisp/rfc2104 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2104
/home/larsi/mgnus/lisp/nngateway hides /home/larsi/src/emacs/trunk/lisp/gnus/nngateway
/home/larsi/mgnus/lisp/gnus-sum hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sum
/home/larsi/mgnus/lisp/mail-prsvr hides /home/larsi/src/emacs/trunk/lisp/gnus/mail-prsvr
/home/larsi/mgnus/lisp/gnus-dup hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-dup
/home/larsi/mgnus/lisp/score-mode hides /home/larsi/src/emacs/trunk/lisp/gnus/score-mode
/home/larsi/mgnus/lisp/starttls hides /home/larsi/src/emacs/trunk/lisp/gnus/starttls
/home/larsi/mgnus/lisp/plstore hides /home/larsi/src/emacs/trunk/lisp/gnus/plstore
/home/larsi/mgnus/lisp/gnus-topic hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-topic
/home/larsi/mgnus/lisp/gnus-notifications hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-notifications
/home/larsi/mgnus/lisp/registry hides /home/larsi/src/emacs/trunk/lisp/gnus/registry
/home/larsi/mgnus/lisp/mml-sec hides /home/larsi/src/emacs/trunk/lisp/gnus/mml-sec
/home/larsi/mgnus/lisp/nnmaildir hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmaildir
/home/larsi/mgnus/lisp/nnbabyl hides /home/larsi/src/emacs/trunk/lisp/gnus/nnbabyl
/home/larsi/mgnus/lisp/sieve hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve
/home/larsi/mgnus/lisp/qp hides /home/larsi/src/emacs/trunk/lisp/gnus/qp
/home/larsi/mgnus/lisp/nnregistry hides /home/larsi/src/emacs/trunk/lisp/gnus/nnregistry
/home/larsi/mgnus/lisp/gnus-art hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-art
/home/larsi/mgnus/lisp/gnus-dired hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-dired
/home/larsi/mgnus/lisp/gnus-util hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-util
/home/larsi/mgnus/lisp/nnheader hides /home/larsi/src/emacs/trunk/lisp/gnus/nnheader
/home/larsi/mgnus/lisp/gnus-demon hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-demon
/home/larsi/mgnus/lisp/message hides /home/larsi/src/emacs/trunk/lisp/gnus/message
/home/larsi/mgnus/lisp/rfc2231 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2231
/home/larsi/mgnus/lisp/canlock hides /home/larsi/src/emacs/trunk/lisp/gnus/canlock
/home/larsi/mgnus/lisp/mm-extern hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-extern
/home/larsi/mgnus/lisp/gnus-undo hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-undo
/home/larsi/mgnus/lisp/mm-bodies hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-bodies
/home/larsi/mgnus/lisp/gnus-score hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-score
/home/larsi/mgnus/lisp/gnus-mh hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-mh
/home/larsi/mgnus/lisp/nnvirtual hides /home/larsi/src/emacs/trunk/lisp/gnus/nnvirtual
/home/larsi/mgnus/lisp/spam-report hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-report
/home/larsi/mgnus/lisp/nndiary hides /home/larsi/src/emacs/trunk/lisp/gnus/nndiary
/home/larsi/mgnus/lisp/sieve-manage hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve-manage
/home/larsi/mgnus/lisp/mml1991 hides /home/larsi/src/emacs/trunk/lisp/gnus/mml1991
/home/larsi/mgnus/lisp/gnus-eform hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-eform
/home/larsi/mgnus/lisp/mml hides /home/larsi/src/emacs/trunk/lisp/gnus/mml
/home/larsi/mgnus/lisp/gravatar hides /home/larsi/src/emacs/trunk/lisp/gnus/gravatar
/home/larsi/mgnus/lisp/nntp hides /home/larsi/src/emacs/trunk/lisp/gnus/nntp
/home/larsi/mgnus/lisp/ecomplete hides /home/larsi/src/emacs/trunk/lisp/gnus/ecomplete
/home/larsi/mgnus/lisp/rtree hides /home/larsi/src/emacs/trunk/lisp/gnus/rtree
/home/larsi/mgnus/lisp/gnus-int hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-int
/home/larsi/mgnus/lisp/gnus-sieve hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-sieve
/home/larsi/mgnus/lisp/smiley hides /home/larsi/src/emacs/trunk/lisp/gnus/smiley
/home/larsi/mgnus/lisp/gnus hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus
/home/larsi/mgnus/lisp/gnus-cus hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cus
/home/larsi/mgnus/lisp/nnfolder hides /home/larsi/src/emacs/trunk/lisp/gnus/nnfolder
/home/larsi/mgnus/lisp/nnmairix hides /home/larsi/src/emacs/trunk/lisp/gnus/nnmairix
/home/larsi/mgnus/lisp/pop3 hides /home/larsi/src/emacs/trunk/lisp/gnus/pop3
/home/larsi/mgnus/lisp/gnus-start hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-start
/home/larsi/mgnus/lisp/nnml hides /home/larsi/src/emacs/trunk/lisp/gnus/nnml
/home/larsi/mgnus/lisp/gnus-vm hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-vm
/home/larsi/mgnus/lisp/gnus-mlspl hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-mlspl
/home/larsi/mgnus/lisp/gnus-registry hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-registry
/home/larsi/mgnus/lisp/gnus-ml hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-ml
/home/larsi/mgnus/lisp/gnus-gravatar hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-gravatar
/home/larsi/mgnus/lisp/spam hides /home/larsi/src/emacs/trunk/lisp/gnus/spam
/home/larsi/mgnus/lisp/gnus-cite hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-cite
/home/larsi/mgnus/lisp/flow-fill hides /home/larsi/src/emacs/trunk/lisp/gnus/flow-fill
/home/larsi/mgnus/lisp/mm-view hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-view
/home/larsi/mgnus/lisp/gnus-html hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-html
/home/larsi/mgnus/lisp/gnus-uu hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-uu
/home/larsi/mgnus/lisp/deuglify hides /home/larsi/src/emacs/trunk/lisp/gnus/deuglify
/home/larsi/mgnus/lisp/spam-stat hides /home/larsi/src/emacs/trunk/lisp/gnus/spam-stat
/home/larsi/mgnus/lisp/nndir hides /home/larsi/src/emacs/trunk/lisp/gnus/nndir
/home/larsi/mgnus/lisp/gnus-kill hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-kill
/home/larsi/mgnus/lisp/gnus-ems hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-ems
/home/larsi/mgnus/lisp/gnus-group hides /home/larsi/src/emacs/trunk/lisp/gnus/gnus-group
/home/larsi/mgnus/lisp/nnagent hides /home/larsi/src/emacs/trunk/lisp/gnus/nnagent
/home/larsi/mgnus/lisp/sieve-mode hides /home/larsi/src/emacs/trunk/lisp/gnus/sieve-mode
/home/larsi/mgnus/lisp/rfc2047 hides /home/larsi/src/emacs/trunk/lisp/gnus/rfc2047
/home/larsi/mgnus/lisp/gmm-utils hides /home/larsi/src/emacs/trunk/lisp/gnus/gmm-utils
/home/larsi/mgnus/lisp/utf7 hides /home/larsi/src/emacs/trunk/lisp/gnus/utf7
/home/larsi/mgnus/lisp/nnimap hides /home/larsi/src/emacs/trunk/lisp/gnus/nnimap
/home/larsi/mgnus/lisp/mm-decode hides /home/larsi/src/emacs/trunk/lisp/gnus/mm-decode
/home/larsi/mgnus/lisp/time-date hides /home/larsi/src/emacs/trunk/lisp/calendar/time-date
/home/larsi/mgnus/lisp/parse-time hides /home/larsi/src/emacs/trunk/lisp/calendar/parse-time
Features:
(shadow hashcash ecomplete emacsbug sendmail shell grep compile
help-mode lyric-wiki dom discogs json dae musicbrainz scan scrobble
tellstick wave cddb captitle expect org-element org-rmail org-mhe
org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-w3m
org advice org-macro org-footnote org-pcomplete pcomplete org-list
org-faces org-entities noutline outline org-version ob-emacs-lisp ob
ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint
ring ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu
calendar cal-loaddefs image-file flow-fill movie pvr pp eww misearch
multi-isearch shr-color color gnus-html mule-util gnus-picon sort
gnus-cite smiley ansi-color url-queue url-cache shr mm-archive copyright
vc-cvs gnus-async gnus-dup qp gnus-ml gmane spam-gmane dns mm-url
disp-table gnus-fun gnus-mdrtn gnus-topic pop3 nndoc nnmbox nndraft
utf-7 nnmh nnml nnfolder gnutls network-stream starttls nnir spam-report
spam spam-stat gnus-uu yenc gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime
smime dig nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start
gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time
gnus-spec gnus-int gnus-range message format-spec rfc822 mml mml-sec
mailabbrev gmm-utils mailheader gnus-win gnus-load gnus gnus-ems
gnus-compat nnheader mail-utils debug debbugs-gnu easy-mmode derived
debbugs soap-client mm-decode mm-bodies mm-encode url-http tls url-auth
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util url-parse auth-source eieio byte-opt bytecomp byte-compile
cconv eieio-core gnus-util mm-util help-fns mail-prsvr password-cache
url-vars mailcap warnings xml ido flyspell ispell benchmark w3m
browse-url doc-view dired image-mode easymenu timezone w3m-hist w3m-fb
w3m-ems wid-edit w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util
cl-macs add-log mail-extr jka-compr cl gv cl-loaddefs cl-lib time-date
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
gfilenotify dynamic-setting system-font-setting font-render-setting
x-toolkit x multi-tty emacs)
Memory information:
((conses 16 865405 110805)
(symbols 48 170251 0)
(miscs 40 877 2084)
(strings 32 248488 6983)
(string-bytes 1 12344846)
(vectors 16 37299)
(vector-slots 8 1024217 34098)
(floats 8 6836 671)
(intervals 56 219574 1611)
(buffers 960 169)
(heap 1024 184366 80019))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#18176: 24.4.50; Errors on dates far in the future in url.el
2014-08-02 23:18 bug#18176: 24.4.50; Errors on dates far in the future in url.el Lars Magne Ingebrigtsen
@ 2014-08-03 2:22 ` Glenn Morris
2014-08-03 3:31 ` Glenn Morris
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2014-08-03 2:22 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 18176
Lars Magne Ingebrigtsen wrote:
> date-to-time("31-Dec-9999 23:59:59.00 GMT")
[...]
> date-to-time should understand dates after 2037.
I think it's actually 4038, due to this element of parse-time-rules:
((5) (100 4038))
Simply change that to
((5) (100 9999))
and it seems to work; but I did not check if that breaks anything else.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#18176: 24.4.50; Errors on dates far in the future in url.el
2014-08-02 23:18 bug#18176: 24.4.50; Errors on dates far in the future in url.el Lars Magne Ingebrigtsen
2014-08-03 2:22 ` Glenn Morris
@ 2014-08-03 3:31 ` Glenn Morris
2014-08-03 15:50 ` Paul Eggert
[not found] ` <handler.18176.D18176.1407081050570.notifdone@debbugs.gnu.org>
3 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2014-08-03 3:31 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 18176
Lars Magne Ingebrigtsen wrote:
> The url-cookie function should either ignore invalid dates,
What do you want url-cookie-expired-p to return when a cookie has an
expiry date that it cannot parse? t or nil?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#18176: 24.4.50; Errors on dates far in the future in url.el
2014-08-02 23:18 bug#18176: 24.4.50; Errors on dates far in the future in url.el Lars Magne Ingebrigtsen
2014-08-03 2:22 ` Glenn Morris
2014-08-03 3:31 ` Glenn Morris
@ 2014-08-03 15:50 ` Paul Eggert
[not found] ` <handler.18176.D18176.1407081050570.notifdone@debbugs.gnu.org>
3 siblings, 0 replies; 5+ messages in thread
From: Paul Eggert @ 2014-08-03 15:50 UTC (permalink / raw)
To: 18176-done
That "4038" started out as a "2038" (the year 32-bit signed time_t's
will roll around) and then someone added 2000 seemingly at random. We
might as well bump it to most-positive-fixnum.
However, this won't work on hosts with 32-bit time_t, because the
low-level primitives can't go past 2038. (Even on 64-bit hosts it won't
work for time stamps in the very far future.) So url-cookie-expired-p
needs to take greater care here.
Fixing this uncovered a couple of other problems. First, date-to-time
shouldn't fall back on timezone-make-date-arpa-standard if encode-time
says the date is out of range. Second, the low-level primitives don't
consistently call time_overflow when there's a time overflow.
This particular use case suggests that url-cookie-expired-p should treat
out-of-range expiration dates as being infinite.
I installed a patch to do all the above, as trunk bzr 117637. I suppose
we could get fancier by distinguishing negative from positive time
overflow, and/or by creating error symbols for time overflow flavors,
but this patch should be enough to fix the current bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#18176: closed (Re: 24.4.50; Errors on dates far in the future in url.el)
[not found] ` <handler.18176.D18176.1407081050570.notifdone@debbugs.gnu.org>
@ 2014-08-03 15:58 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2014-08-03 15:58 UTC (permalink / raw)
To: 18176
help-debbugs@gnu.org (GNU bug Tracking System) writes:
> This particular use case suggests that url-cookie-expired-p should
> treat out-of-range expiration dates as being infinite.
Yeah, that seems like the right solution. If we can't parse the
expiration date, we should treat it as if the expiration date isn't
present, and that's the effect we get here, if I understand the code
correctly. (Which I may not do; I just skimmed it very quickly.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-08-03 15:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-02 23:18 bug#18176: 24.4.50; Errors on dates far in the future in url.el Lars Magne Ingebrigtsen
2014-08-03 2:22 ` Glenn Morris
2014-08-03 3:31 ` Glenn Morris
2014-08-03 15:50 ` Paul Eggert
[not found] ` <handler.18176.D18176.1407081050570.notifdone@debbugs.gnu.org>
2014-08-03 15:58 ` bug#18176: closed (Re: 24.4.50; Errors on dates far in the future in url.el) Lars Magne Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.