DEV Community

Discussion on: encodeURI vs encodeURIComponent vs something-inbetween?

Collapse
 
antho1404 profile image
Anthony

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