Closed
Description
Summary
Dynamic routes rendered on the edge with runtime: 'experimental-edge'
do not correctly parse the slug into the page parameters.
This is demonstrated by the failing e2e test: edge-render-getserversideprops
Steps to reproduce
- Clone the repro and deploy to Netlify
- Visit
/123?hello=world
Expected: {"url":"/123?hello=world","query": {"hello":"world" ,"id":"123"},"params": {"id":"123"},"now": 1673955487763}
Actual: {"url":"/123?hello=world","query": {"hello":"world"},"now": 1673955487763}
A link to a reproduction repository
https://github.com/orinokai/test-next-edge-slug
Next Runtime version
4.30.0
More information about your build
- I am building using the CLI
- I am building using file-based configuration (
netlify.toml
)
What OS are you using?
None
Your netlify.toml file
No response
Your public/_redirects file
No response
Your next.config.js
file
No response
Builds logs (or link to your logs)
No response
Function logs
No response
.next JSON files
No response