Skip to content

Middleware matching is too broad when using i18n #2473

Closed
@serhalp

Description

@serhalp

There are a few scenarios where our the custom matchers from middleware are not correctly being transformed when using i18n and default locales, as they're either matching too broadly or too narrowly.

See also related #2472.

Data

The following is parsed automatically by the Next.js repo e2e test report generator.

test: Middleware custom matchers i18n should not match
reason: Middleware matching is too broad when using i18n

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions