next.js
61df8bbc - fix: merged middleware cookies should preserve options (#67956)

Commit
1 year ago
fix: merged middleware cookies should preserve options (#67956) This ensures that cookies merged via `x-middleware-set-cookie` preserve the options that are passed to them. Currently we're only selectively merging in `name` and `value` but really we can just copy the `ResponseCookie` in kind rather than enumerating on select properties.
Author
Committer
Parents
Loading