Skip to content

paths get url-encoded with next export and getStaticPaths #11016

@meesvandongen

Description

@meesvandongen

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:

Expected behavior

The routes are exported without encoding.

Additional context

This behaviour is different from exportPathMap, where the behaviour was as desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pages RouterRelated to Pages Router.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions