404 infinite redirect in development mode #58283
Labels
bug
Issue was opened via the bug report template.
Linking and Navigating
Related to Next.js linking (e.g., <Link>) and navigation.
stale
The issue has not seen recent activity.
Link to the code that reproduces this issue
https://github.com/vercel/next.js/tree/canary/examples/reproduction-template
To Reproduce
In dev mode a 404 causes an infinite redirect.
Infinite 404 redirect
Current vs. Expected behavior
Don't redirect indefinitly
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: x64 Version: Darwin Kernel Version 21.6.0: Wed Oct 4 23:55:28 PDT 2023; root:xnu-8020.240.18.704.15~1/RELEASE_X86_64 Binaries: Node: 18.18.2 npm: 9.8.1 Yarn: N/A pnpm: N/A Relevant Packages: next: 14.0.3-canary.0 eslint-config-next: 14.0.1 react: 18.2.0 react-dom: 18.2.0 typescript: 5.2.2 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
App Router, Routing (next/router, next/navigation, next/link)
Additional context
No response
The text was updated successfully, but these errors were encountered: