rsnext/test/e2e/app-dir/actions
Shu Ding b7cc5b9baa
Fix cookie merging in Server Action redirections (#61113)
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
2024-01-26 23:26:23 -08:00
..
app Fix cookie merging in Server Action redirections (#61113) 2024-01-26 23:26:23 -08:00
components fix: server actions initiated from static pages (#51534) 2023-09-14 21:22:19 +00:00
app-action-export.test.ts Remove the experimental serverActions flag (#57145) 2023-10-20 20:45:25 +00:00
app-action-form-state.test.ts Add test case for the permalink option of useFormState (#56329) 2023-10-03 13:47:03 +02:00
app-action-progressive-enhancement.test.ts Fix Server Actions compiler bug (#60794) 2024-01-18 01:29:07 +01:00
app-action-size-limit-invalid.test.ts Move serverActionsBodySizeLimit to serverActions.bodySizeLimit (#57433) 2023-10-26 08:51:32 +02:00
app-action.test.ts Fix cookie merging in Server Action redirections (#61113) 2024-01-26 23:26:23 -08:00
middleware.js Fix request body hanging when middleware is preset (#57381) 2023-10-25 02:44:10 +00:00
next.config.js Change allowed forwarded hosts to be allowed origins for Server Actions (#58023) 2023-11-08 11:20:32 +01:00