Issue metadata
Sign in to add a comment
|
Cookies are non persistent on devices with 32 bit integer timestamps
Reported by
land...@opera.com,
Oct 4 2016
|
||||||||||||||||||||||||
Issue descriptionVersion: master OS: Linux What steps will reproduce the problem? (1) Use a cookie line with "expires=Fri, 31 Dec 9999 23:59:59 GMT". I think this is a pretty common way of having never expires cookies. The cookie will not be persistent after https://codereview.chromium.org/1988663002 landed on Linux platforms that has a time_t that is 32 bit signed integer. Before that change a best effort was made to return the highest value representable by the platform but now there is null Time returned which makes the cookie non persistent.
,
Oct 4 2016
And here is that review: https://codereview.chromium.org/2392873002
,
Oct 4 2016
,
Oct 4 2016
The original solution was bad in cases where there were security considerations (Cert timestamps, for instance)
,
Oct 6 2016
Yes, you should be really careful when using the unsuccessful result of course. Anyway, good that you are working on a solution. Thanks. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by land...@opera.com
, Oct 4 2016