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 handling of = in cookie values #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nfriedly
Copy link
Contributor

@nfriedly nfriedly commented Nov 1, 2019

If there is any = in the cookie's value, component-cookie would loose both the = and everything after it. This PR fixes that.

See also: matthewmueller/next-cookies#20

Additionally, I couldn't get the tests to run out-of-the box. I did some tweaks to fix that, but I'll put them into a separate PR.

Fixes #8 (when the cookie is set by the server rather than this library)

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

Successfully merging this pull request may close these issues.

cookie parse error
1 participant