Intercepting Routes with Catch-all Segments broken #51784
Labels
area: app
App directory (appDir: true)
bug
Issue was opened via the bug report template.
locked
Navigation
Related to Next.js linking (e.g., <Link>) and navigation.
Verify canary release
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #1 SMP Fri Jan 27 02:56:13 UTC 2023 Binaries: Node: 18.16.0 npm: 9.5.1 Yarn: N/A pnpm: 8.6.3 Relevant Packages: next: 13.4.8-canary.2 eslint-config-next: 13.4.7 react: 18.2.0 react-dom: 18.2.0 typescript: 5.1.3 Next.js Config: output: N/A
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true), Routing (next/router, next/navigation, next/link)
Link to the code that reproduces this issue or a replay of the bug
/~https://github.com/vercel-labs/nextgram
To Reproduce
It looks as though the pathing is broken when trying to use Catch-all Segments with Intercepting routes.
/(.)photo/[id]
/(.)photo/[...id]
Describe the Bug
The error that I receive is:
note: I've shortened the paths to node_modules above
Expected Behavior
I'd expect this intercepting routes to work properly with catch-all segments
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
The text was updated successfully, but these errors were encountered: