Reading duplicated cookies
a-x- opened this issue · comments
Alexander commented
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
Douglas Wilson commented
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 :)
Alexander commented
transferred to jshttp/cookie#60
heipacker commented
the problem resolved???
Alexander commented
nope,
i'm too lazy to make pr into jshttp/cookie
but fix is not too hard, read convarsation in following issue, please.
heipacker commented
ok, i have changed to use express-cookies