URL: Username with @

http, url, url-encoding

Solution

You need to URL encode the @ as %40.

Problem

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?

Original source