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

Pre-population of req.cookies, which is inconsistent with Express, breaks popular "cookie-parse" middleware (PR fix inside) #59

Open
dustinbolton opened this issue Jan 23, 2024 · 0 comments

Comments

@dustinbolton
Copy link

Express does not populate req.cookies by default. This break the popular "cookie-parse" middleware package as it sees the empty object and does not parse cookies. Removing this empty object default fixes the problem.

Here is a PR which fixes this problem:
#58

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

1 participant