b7cc5b9baa
This PR fixes the cookie merging logic in Server Actions. Specifically, when users do `cookies().set(...)` or `cookies.delete(...)` with a `redirect()` to an internal route followed. Currently, we are just concatenating the original cookies (request cookies) and the mutated cookies. That introduces several issues, like it can't override or delete an existing cookie. Closes NEXT-2221 |
||
---|---|---|
.. | ||
app | ||
components | ||
app-action-export.test.ts | ||
app-action-form-state.test.ts | ||
app-action-progressive-enhancement.test.ts | ||
app-action-size-limit-invalid.test.ts | ||
app-action.test.ts | ||
middleware.js | ||
next.config.js |