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

fix: Call encodeURIComponent on cookie value for request #121

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

meyfa
Copy link
Owner

@meyfa meyfa commented Nov 14, 2023

The internal cookie parser was already decoding the cookie value before placing it into the store. However, when making a subsequent request, we did not encode the value again. This could result in servers rejecting the value, as it did not match the one provided by the server.

The internal cookie parser was already decoding the cookie value before
placing it into the store. However, when making a subsequent request, we
did not encode the value again. This could result in servers rejecting
the value, as it did not match the one provided by the server.
@meyfa meyfa added the fix label Nov 14, 2023
@meyfa meyfa merged commit 7236ebf into main Nov 14, 2023
4 checks passed
@meyfa meyfa deleted the fix/cookie-encode branch November 14, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant