URL: Username with @

Rodrigo picture Rodrigo · Apr 7, 2012 · Viewed 87k times · Source

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

http://username:[email protected]_site.com

But my username is [email protected].
The problem is the @.

How can I solve it?

Answer

Joe picture Joe · Apr 7, 2012

You need to URL encode the @ as %40.