Encode Colon “:”

If you use URIencode() method you will find that some special characters (, / ? : @ & = + $ #) including colon is not encoded to ‘%3A’.

To overcome this issue, you should use encodeURIComponent()

Did you enjoy this article?
Signup today and receive free updates straight in your inbox. We will never share or sell your email address.

Leave a Reply