Skip to content

fix(setCookie): properly merge unique set-cookie values#830

Merged
pi0 merged 2 commits intomainfrom
fix/cookie
Jul 18, 2024
Merged

fix(setCookie): properly merge unique set-cookie values#830
pi0 merged 2 commits intomainfrom
fix/cookie

Conversation

@pi0
Copy link
Copy Markdown
Member

@pi0 pi0 commented Jul 18, 2024

resolves #705

Unique key generation was not restoring maxAge as the cookie parser was not restoring options (maxAge).

Using new parseSetCookie from cookie-es 1.2 we can properly merge

@pi0 pi0 self-assigned this Jul 18, 2024
@pi0 pi0 merged commit b078181 into main Jul 18, 2024
@pi0 pi0 deleted the fix/cookie branch July 18, 2024 22:08
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.

Merge set cookie value for same name multiple times

1 participant