Does not correctly handle user middleware that redirects to path with canonical locale casing when app enables skipMiddlewareUrlNormalize
and path contains locale slug with non-canonical casing
#2474
Labels
I'm not quite sure exactly what the scope of this is, but the failing tests here have a fixture site that enables
skipMiddlewareUrlNormalize
and a user middleware that redirects any other casing of/en/*
to/en/*
(and so on), but when/EN
is fetched it redirects to/en/en
instead of/en
:It looks like we previously claimed to have fixed this in FRA-332, but it must have regressed at some point.
Data
The following is parsed automatically by the Next.js repo e2e test report generator.
test: test/e2e/skip-trailing-slash-redirect/index.test.ts
reason: does not correctly handle user middleware that redirects to path with canonical locale casing when app enables
skipMiddlewareUrlNormalize
and path contains locale slug with non-canonical casingThe text was updated successfully, but these errors were encountered: