fix: non-ASCII page names returning 404 under SSR#89572
fix: non-ASCII page names returning 404 under SSR#89572bgub wants to merge 1 commit intovercel:canaryfrom
Conversation
|
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
|
Allow CI Workflow Run
Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer |
d5ec3fd to
29cff8a
Compare
Add decode fallbacks in route matching, filesystem checks, and segment cache encoding so pages with non-ASCII names (e.g. Cyrillic, Arabic, Japanese) resolve correctly in both dev and production modes. Includes App Router and Pages Router e2e test coverage. Fixes vercel#10084
29cff8a to
c1d98ef
Compare
Failing test suitesCommit: c1d98ef | About building and testing Next.js
Expand output● non-ascii-page-name › should render a static page with non-ASCII name via encoded URL ● non-ascii-page-name › should render a static page with non-ASCII name via decoded URL ● non-ascii-page-name › should render a dynamic route with non-ASCII static segment ● non-ascii-page-name › should client-side navigate to a non-ASCII page ● non-ascii-page-name › should client-side navigate to a dynamic route with non-ASCII segment
Expand output● Dev Rendering Indicator › Shows build indicator when page is built from modifying |
Fixes #10084
Summary
pages/тест) and verifies SSR + client navigationTesting