-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Description
Describe the bug
Using express & cookie-session - some sessions are saved, others loose their signature and are disabled.
It seems that the cookies are parsed wrongfully - only on web containers.
Link to the blitz that caused the error
https://stackblitz.com/edit/stackblitz-starters-m9nszw?file=index.js
Steps to reproduce
- Goto https://stackblitz.com/edit/stackblitz-starters-m9nszw?file=index.js
- Click on the first link - you'll see that a cookie with a user info for user named
alex
is saved and works - Clink on the second link - you'll see that the same code doesn't work when the user is named 'steve'
Expected behavior
The cookies should work consistently
Parity with Local
- I have run the project in my local machine and I could not reproduce the issue.
Screenshots
When the cookie is saved it looks like this:
And when it doesn't it looks like this:
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels