Inconsistent path encoding #2698
Labels
❗ p4-important
Priority 4: bugs that violate documented behavior, or significantly impact perf
routing
v8
Environment
Reproduction
https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-vuphy7?file=pages%2Findex.vue
Scripts to compare behavior:
npm run dev
npm run dev:alternate-1
npm run dev:alternate-2
Describe the bug
The paths returned by
localePath
are escaped inconsistently as shown in the scenarios below. It seems to be related to when locale prefixes are used, hence it changes whendefaultLocale
is set or not when used with strategyprefix_and_default
. Found during #2686.This issue is likely related or the same as previously reported issues related to path encoding .
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: