rsnext/test
Zack Tanner 39661815d8
prevent erroneous route interception during lazy fetch (#64692)
When the router cache can't find a cache node for the requested segment,
it performs a request to the server to get the missing data. This
request to the server currently will always include the `next-url`
header, and on soft-navigations, the router will route the request to
the intercepted handler. This lazy fetch is treated as a soft navigation
by the server, and will incorrectly return data for the intercepted
route.

Similar to the handling in `router.refresh`, and the server action
reducer, we should not include the `next-url` header if there's no
interception route currently in the tree, as otherwise we'll be
erroneously triggering the intercepted route.

Fixes #64676
Closes NEXT-3146
2024-04-18 13:22:13 +00:00
..
.stats-app chore: Update pnpm v8.15.1 to v8.15.7 (#64479) 2024-04-15 14:54:28 +00:00
development Upgrade typescript to 5.3 (#64043) 2024-04-17 18:35:29 +02:00
e2e prevent erroneous route interception during lazy fetch (#64692) 2024-04-18 13:22:13 +00:00
examples feat(cli): introduce --tailwind flag (#46927) 2023-03-16 16:06:27 +01:00
integration Improve top level await coverage (#64508) 2024-04-17 17:44:40 +02:00
lib Upgrade typescript to 5.3 (#64043) 2024-04-17 18:35:29 +02:00
production Fix: resolve mixed re-exports module as cjs (#64681) 2024-04-18 01:06:29 +02:00
unit Upgrade typescript to 5.3 (#64043) 2024-04-17 18:35:29 +02: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
related-tests-manifest.json Revert "chore(test): run related E2E deploy tests on PRs" (#64682) 2024-04-17 22:40:21 +00:00
test-file.txt
turbopack-build-tests-manifest.json Revert "fix(next): global not-found not working on multi-root layouts" (#64601) 2024-04-17 11:19:18 +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 Update Turbopack development test manifest (#64709) 2024-04-18 10:59:50 +02:00

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