You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example you can see that we call serialize with a base parameter that have a query string with value1 that have a ? in the middle, and the result is http://localhost:3000/?value1=value&prompt=value3 that deletes part of value1 and value 2.
Context
What's your version of
nuqs
?What framework are you using?
Which version of your framework are you using?
Description
When a serialize is executed with a string base parameter that have query string parameter with a string with "?", some of the string disappear
Reproduction
https://stackblitz.com/edit/vitejs-vite-wcnxdakb?file=src%2Fmain.ts
In this example you can see that we call serialize with a base parameter that have a query string with value1 that have a ? in the middle, and the result is
http://localhost:3000/?value1=value&prompt=value3
that deletes part of value1 and value 2.Reading you code I found the issue in line
nuqs/packages/nuqs/src/serializer.ts
Line 84 in 54067b3
The text was updated successfully, but these errors were encountered: