d1036539d6
This fixes a few things related to optional catch-all routes and i18n. The first thing is it ensures the correct data route is generated on the client so that the locale isn't duplicated for an optional catch-all route, the next is it ensures the browser history is updated correctly when only a locale change is occurring, and then it also ensures we handle the locales and normalizing for fallback optional catch-all pages correctly. Tests have been added to ensure these cases are covered properly and we don't regress on them, these changes were also tested on Vercel [here](https://next-js-bug-i18n-root-params-nybg44l0b.vercel.app/) Fixes: https://github.com/vercel/next.js/issues/18633 Fixes: https://github.com/vercel/next.js/issues/19059 |
||
---|---|---|
.. | ||
emit-file-loader.js | ||
error-loader.ts | ||
next-babel-loader.js | ||
next-client-pages-loader.ts | ||
next-data-loader.ts | ||
next-plugin-loader.ts | ||
next-serverless-loader.ts | ||
noop-loader.ts |