Author ssh
Recipients serhiy.storchaka, ssh
Date 2015-04-08.14:17:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428502659.33.0.324281998086.issue23888@psf.upfronthosting.co.za>
In-reply-to
Content
If the FileCookieJar reads a cookie whose expiry time is a decimal fraction, it crashes.

Chrome extensions "cookies.txt" and "EdiThisCookie" export the expiry time as decimal fractions. This is accepted by wget and curl, but not by the FileCookieJar which ends up crashing.

I made a StackOverflow question checking if fractional decimal expiry times were even allowed (if it was a bug in the extensions), but didn't get a response: https://stackoverflow.com/questions/29502672/can-the-cookie-expires-field-be-a-decimal-value

At any rate, this patch should make the library more robust.
History
Date User Action Args
2015-04-08 14:17:39sshsetrecipients: + ssh, serhiy.storchaka
2015-04-08 14:17:39sshsetmessageid: <1428502659.33.0.324281998086.issue23888@psf.upfronthosting.co.za>
2015-04-08 14:17:39sshlinkissue23888 messages
2015-04-08 14:17:39sshcreate