rsnext/packages/next/next-server/lib/router
JJ Kasper 3f84a55ba3
Ensure locale is added/stripped correctly (#18712)
This makes sure we don't incorrectly strip locale characters from the path if it is not a locale prefix e.g. `/fr` should not be removed from `/frank`. Additional tests have been added to ensure this isn't stripped for this case.

Fixes: https://github.com/vercel/next.js/issues/18332
2020-11-02 23:32:56 +00:00
..
utils Ensure custom routes handling with i18n (#18427) 2020-10-29 17:48:54 +00:00
router.ts Ensure locale is added/stripped correctly (#18712) 2020-11-02 23:32:56 +00:00