-
Notifications
You must be signed in to change notification settings - Fork 30k
Open
Labels
Pages RouterRelated to Pages Router.Related to Pages Router.
Milestone
Description
Bug report
Describe the bug
Paths get url-encoded when using next export. This causes them to get double-encoded when live.
To Reproduce
test case: https://gitlab.com/meesvandongen/test-case-next-export
build & export the project, serve it and go to the relevant page:
- /test/path%20with%20spaces
doesn't work - /test/path%2520with%2520spaces
works; because we encoded the percent in%20(space), giving%2520
Expected behavior
The routes are exported without encoding.
Additional context
This behaviour is different from exportPathMap, where the behaviour was as desired.
balazsorban44, hideokamoto, nassimbenkirane, liaocanada, NoobTW and 15 more
Metadata
Metadata
Assignees
Labels
Pages RouterRelated to Pages Router.Related to Pages Router.