httpurlurl-encoding

URL: Username with @


To send username and password with a URL, we use this scheme:

http://username:password@www.my_site.com

But my username is my_email@gmail.com.
The problem is the @.

How can I solve it?


Solution

  • You need to URL encode the @ as %40.