i18n
i18n copied to clipboard
middleware infinite loop caused by `@nuxtjs/i18n`
Environment
- Operating System: Darwin
- Node Version: v20.9.0
- Nuxt Version: 3.8.2
- CLI Version: 3.10.0
- Nitro Version: 2.8.0
- Package Manager: [email protected]
- Builder: -
- User Config: modules, devtools, i18n, experimental
- Runtime Modules: @nuxtjs/[email protected]
- Build Modules: -
Reproduction
- Open Reproduction
- Click "Open in New Tab"
- Enter route
/reset?email=test%40test.devvia change browser URL - Check the terminal output, it will loop infinitely between the two middlewares
https://github.com/nuxt-modules/i18n/assets/39984251/95ffb129-fb16-4dcb-b31d-06a49f113f5b
Describe the bug
Upon entering a page with the query string email=test%40test.dev, it triggers an infinite loop between the router middlewares within the Nuxt server. when accessing the page with [email protected], this issue does not manifest.
Your attention to this matter would be greatly appreciated. Please let me know if further information or clarification is needed. Thank you for your time and support in resolving this issue.