rsnext/packages/next/next-server
JJ Kasper a153b63240
Ensure locale is not duplicated from differing casing (#24187)
This ensures we don't attempt adding a locale to a path when the locale is already present but in a different casing, this also ensures we successfully remove the locale if the casing differs in the path. Additional tests have been added in the `i18n-support` suites to ensure this is working correctly. 

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added

Fixes: https://github.com/vercel/next.js/issues/23553
2021-04-18 09:01:01 +00:00
..
lib Ensure locale is not duplicated from differing casing (#24187) 2021-04-18 09:01:01 +00:00
server Fix serving Images through external rewrite with Image component (#21001) 2021-04-17 21:03:08 +00:00