Repository navigation
Revert "Revert "Fix App Router locale path matching with Pages i18n"" - #98726
timneutkens merged 7 commits into
Conversation
Tests PassedCommit: 077789d |
5875271 to
1ca94f2
Compare
|
[P1] Preserve inferred locales across Proxy rewrites The new Reproduction using this PR's fixture: return NextResponse.rewrite(new URL('/plain/123', request.url))From an unlocalized Proxy source pathname, this should render Confirmed on both configured locale domains in development and production with Webpack. The base routes both requests to The resolver needs to distinguish adapter-inferred locale prefixes from explicit rewrite destinations before choosing literal App route matching. I am investigating a fix and adding coverage for unlocalized Proxy destinations. |
Reverts #98715. Re-apply the i18n fix.