Next.js Discord

Discord Forum

decodeuricomponent works well locally but is decoding incorrectly once hosted on vercel.

Unanswered
GuitarNerd posted this in #help-forum
Open in Discord
Hi everyone. I'm using decodeuricomponent to decote route params. Locally it's working fine with xxx+123@xxx.com in the url being decoded properly but on vercel the + gets decoded into a space.

Any ideas?

0 Replies