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
On Vercel, Nuxt v3.11.2 causes infinite redirect when query string contains +
is passed
#26882
Comments
+
is passed
It was working fine until 3.11.1 and went wrong from 3.11.2, so it should be a recurrence |
cc @huang-julien might be related to the encoding? #26712 ? |
Similar thing happening on Netlify with |
I think we'll revert the encoding. wdyt @danielroe ? |
Yes - and let's add a comment there. |
You can use nightly version to for the patch, or you can also just downgrade to v3.11.1 https://nuxt.com/docs/guide/going-further/nightly-release-channel |
FWIW I think #26519 is what introduced the bug in 3.11.2. Specifically this line: nuxt/packages/nuxt/src/pages/runtime/plugins/router.ts Lines 254 to 256 in 5e2ec03
In my testing on Netlify given an example dynamic path
Therefore the line
Perhaps Vercel and Netlify both encode values passed differently ( |
Re-opening here for further investigation (cc @danielroe) |
Nice find - thank you @abovedave 🙏 |
We are having a similar issue, but I'm not sure if it's exactly the same thing. A couple of questions...
|
@calbers-ew if it's this bug causing your issue, downgrading to 3.11.1 should fix it for now. |
Environment
Reproduction
Repo: https://github.com/kakkokari-gtyih/vercel-infinite-redirect-repor
Vercel (no special configuration): https://vercel-infinite-redirect-repor.vercel.app/
Describe the bug
When query string has
+
, nuxt causes infinite redirection (302).This doesn't happen in dev mode or node-server.
Additional context
Parent issue: misskey-dev/misskey-hub-next#154
Logs
The text was updated successfully, but these errors were encountered: