DEV Community

Discussion on: encodeURI vs encodeURIComponent vs something-inbetween?

antho1404 profile image

I just had an issue yesterday about the character > and some base64 that was solved by that. I wrote something about it here
Now I would consider anything that goes in the URL should use encodeURIComponent as early as possible.