Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

location header is not encoded #26711

Closed
huang-julien opened this issue Apr 9, 2024 · 1 comment · Fixed by #26712
Closed

location header is not encoded #26711

huang-julien opened this issue Apr 9, 2024 · 1 comment · Fixed by #26712

Comments

@huang-julien
Copy link
Member

Environment


  • Operating System: Windows_NT
  • Node Version: v20.12.1
  • Nuxt Version: 3.11.2
  • CLI Version: 3.11.1
  • Nitro Version: 2.9.6
  • Package Manager: pnpm@8.14.1
  • Builder: -
  • User Config: typescript, pages, modules
  • Runtime Modules: ()
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/nuxt-starter-cbb3dz?file=pages%2Fredirection.vue,pages%2F[...slug].vue,pages%2Findex.vue

Describe the bug

When redirecting to url with some special char (like /cœur), the location header is not encoded resulting into an ssr error

Additional context

No response

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant