Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie time to live bug using js-cookie package. #7336

Closed
aungpyaekyaw opened this issue Dec 12, 2019 · 0 comments
Closed

Cookie time to live bug using js-cookie package. #7336

aungpyaekyaw opened this issue Dec 12, 2019 · 0 comments

Comments

@aungpyaekyaw
Copy link

  1. create react app.
  2. install js-cookie
  3. To store cookie in browser use Cookie.set('key','value',{expires:10});
  4. According to the package, the cookie should only expire in next 10 days, but it's can only live to
    7 days. It's working find if we set the expires day to less than 7. And this bug only exists in brave
    browser.I tried to reproduce the bug in chromium but it works fine in chromium. SoI think this is
    related to the Brave browser only.

Actual result:

cookie can only live 7 days if we set to live more than 7 days.

Expected result:

cookie should expire only in assigned day.

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

1.1.20 Chromium: 79.0.3945.74 (Official Build) (64-bit)

99b6d241cf84f7fa7434ae8a59f9e74eb1464280-refs/branch-heads/3945@{#888}

macOS Version 10.15.1 (Build 19B88)

Version/Channel Information:

  • Can you reproduce this issue with the current release?
    Yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields?
    No
  • Does the issue resolve itself when disabling Brave Rewards?
    No
  • Is the issue reproducible on the latest version of Chrome?
    No
@bbondy bbondy added this to the Closed / Invalid milestone Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants