You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MadhaviSeelam
changed the title
Server -side cookie expiration limit shows 2 days instead of 6 months
Follow up issue to # 15048 - Server -side cookie expiration limit shows 2 days instead of 6 months
Oct 3, 2022
@MadhaviSeelam the issue here is that the cookie expires in 2 days, right? I see that for https://fmarier.org/document-cookie/set-cookie4.html the server sends back header set-cookie: test4=yes; max-age=172800 which is 2 days. Looks like the test plan in brave/brave-core#1905 (comment) is incorrect, and should say that for set-cookie4.html the expected days is 2 days, and not 6 months. I see that #3443 (comment) also verified that set-cookie4.html sets cookie for 2 days. I'll update the test plan (done).
TL;DR: The test plan was incorrect. Let me know how that sounds!
My apologies if I should post this as a new issue but it seems related (?). I'm setting a cookie to expire in 30 days but Brave (and Opera) show an expiration date of 7 days from now vs 30 (?). Is this just a visual bug or is the cookie actually setting the wrong date in Brave too?
Description
Steps to Reproduce
Application
tab in thedevtools
.Storage
, thenCookies
in the sidebar.brave://settings/cookies/detail?site=fmarier.org
and checked the expiry dateActual result:
expiry date shows Oct 5, 2022 (2022-10-05T22:04:30.414Z) instead of 6 months (i.e. April 01, 2023)
Expected result:
Should expire 6 months from the current date (i.e. 2023-04-01T22:09:13.740Z)
Reproduces how often:
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
@ShivanKaul @rebroncc: @stephendonner
The text was updated successfully, but these errors were encountered: