Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with dynamic route params returning %5Bslug%5D #74532

Open
anas029 opened this issue Jan 5, 2025 · 0 comments
Open

Issue with dynamic route params returning %5Bslug%5D #74532

anas029 opened this issue Jan 5, 2025 · 0 comments
Labels
bug Issue was opened via the bug report template. Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes. Partial Prerendering (PPR) Related to Partial Prerendering.

Comments

@anas029
Copy link

anas029 commented Jan 5, 2025

Link to the code that reproduces this issue

https://github.com/anas029/vercel-dynamic-route

To Reproduce

deploy it on vercel
go to link /people/list/one

Current vs. Expected behavior

it gives invalid page params value
e.g.: https://vercel-dynamic-route.vercel.app/people/list/one
type = %5Btype%5D
it should give the actual value
type = one

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 10 Pro
  Available memory (MB): 32683
  Available CPU cores: 16
Binaries:
  Node: 20.17.0
  npm: 10.2.5
  Yarn: N/A
  pnpm: 8.15.6
Relevant Packages:
  next: 15.1.3 // Latest available version is detected (15.1.3).
  eslint-config-next: 15.1.3
  react: 19.0.0
  react-dom: 19.0.0
  typescript: 5.7.2
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Parallel & Intercepting Routes, Partial Prerendering (PPR)

Which stage(s) are affected? (Select all that apply)

Vercel (Deployed)

Additional context

It works fine in local dev and build
shorter links or links appended with extra param works as well

  1. https://vercel-dynamic-route.vercel.app/list/one
  2. https://vercel-dynamic-route.vercel.app/people/list/one/1
@anas029 anas029 added the bug Issue was opened via the bug report template. label Jan 5, 2025
@github-actions github-actions bot added Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes. Partial Prerendering (PPR) Related to Partial Prerendering. labels Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes. Partial Prerendering (PPR) Related to Partial Prerendering.
Projects
None yet
Development

No branches or pull requests

1 participant