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

Reading duplicated cookies #31

Closed
a-x- opened this issue Sep 5, 2016 · 5 comments
Closed

Reading duplicated cookies #31

a-x- opened this issue Sep 5, 2016 · 5 comments
Assignees

Comments

@a-x-
Copy link

a-x- commented Sep 5, 2016

my bro sends weird cookies (after deleting and installing cookies again):

user_id=; session_id=; session_id=XXXXXXX; user_id=6

cookie-parser parse them as a ''

but expected reading a second value of each cookie

@dougwilson
Copy link
Contributor

Hi @a-x- , can you provide some more information? For example, how exactly are you "deleting" cookies? If you are just setting them to an empty value, a cookie having an empty value is a perfectly valid cookie. Better understanding how to reproduce your issue will help a lot :)

@a-x-
Copy link
Author

a-x- commented Oct 30, 2016

transferred to jshttp/cookie#60

@a-x- a-x- closed this as completed Oct 30, 2016
@dougwilson dougwilson self-assigned this Oct 31, 2016
@heipacker
Copy link

the problem resolved???

@a-x-
Copy link
Author

a-x- commented Dec 27, 2016

nope,
i'm too lazy to make pr into jshttp/cookie

but fix is not too hard, read convarsation in following issue, please.

@heipacker
Copy link

ok, i have changed to use express-cookies

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

3 participants