-
Notifications
You must be signed in to change notification settings - Fork 205
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
Loose mode flag is not preserved in toJSON() serialization #195
Comments
Hi @sidx1024, I can recreate this problem. Let me talk with the rest of the team and figure out the best course of action to fix it. Thanks, |
Hi @sidx1024, I have committed to master a fix for this issue. Thank you for reporting this to us! -Mike |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CookieJar.toJSON()
method doesn't preserve looseMode flag. Thus, setting an invalid cookie throws an error (after creating a new instance usingfromJSON()
).Reproduceable code:
The text was updated successfully, but these errors were encountered: