rsnext/test
Nikhil Mehta c502308bca
fix: cookie override during redirection from server action (#61633)
### What?
Fixes #61611

### Why?
Any one having custom server may be having logic to set cookies during
GET requests too. Currently nextjs in app directory does not allow to do
so but with custom server its very much possible.

### How?
By merging cookies of redirect response and server action POSt response

### Tests
I have added one more test to existing suite and it passing with fix in
place.

![image](https://github.com/vercel/next.js/assets/6815560/858afdbb-c377-49eb-9002-fcbdf06583a4)

### Notes
This bug is reproducible only if developer has custom server on top of
next app but still very probable

---------

Co-authored-by: Shu Ding <g@shud.in>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2024-04-04 14:08:13 -07:00
..
.stats-app chore: update pnpm version from 8.15.1 to 8.15.4 (#62979) 2024-03-07 09:22:45 +00:00
development fix: bundle fetching with asset prefix (#63627) 2024-03-29 16:38:24 -07:00
e2e fix: cookie override during redirection from server action (#61633) 2024-04-04 14:08:13 -07:00
examples feat(cli): introduce --tailwind flag (#46927) 2023-03-16 16:06:27 +01:00
integration fix(turbopack): throws api issues (#64032) 2024-04-03 13:50:30 -07:00
lib Use local AMP validator to reduce test flakiness (#63838) 2024-03-28 20:25:35 +00:00
production fix(next): next build --debug log output layout is broken (#63193) 2024-04-02 15:05:28 -07:00
unit feat(eslint): enhance no-unwanted-polyfill w/ new endpoints (#62719) 2024-03-06 16:42:53 +00:00
.gitignore ci(workflow): enable test trace upload (#51107) 2023-06-12 17:14:13 +00:00
build-turbopack-build-tests-manifest.js Ensure production integration test results are uploaded (#63706) 2024-03-26 10:41:16 +01:00
build-turbopack-dev-tests-manifest.js Rename turbopack-tests-manifest to turbopack-dev-tests-manifest (#63409) 2024-03-19 10:26:14 +01:00
build-turbopack-tests-manifest.d.ts Update Turbopack test manifest from GitHub Actions artifact (#58394) 2023-11-24 16:48:12 +01:00
get-test-filter.js run tests from test suite that are not listed in the manifest (#58401) 2024-01-11 07:38:35 +00:00
jest-setup-after-env.ts Decrease default test timeouts (#56116) 2023-09-27 23:55:20 +00:00
ppr-tests-manifest.json add experimental client router cache config (#62856) 2024-04-02 05:42:18 -07:00
readme.md
test-file.txt
tsconfig.json chore: extends from shared base tsconfig (#59776) 2023-12-19 18:52:22 +01:00
turbopack-build-tests-manifest.json Fix status code for /_not-found route (#64058) 2024-04-04 17:35:27 +02:00
turbopack-dev-examples-manifest.json Fix last examples for Turbopack (#64020) 2024-04-03 16:02:52 +02:00
turbopack-dev-tests-manifest.json test: Use the correct matcher pattern for stack traces (#63927) 2024-04-04 23:56:21 +09:00

See Testing for more information on how you can run/write/debug tests for Next.js.