I'm writing a script to check to see if a website with a secure login is up or not. The usual URL for a secure login is
My question is what if the Username is something like john@company.com? Then the URL will be
With 2 '@' symbol in there, it doesn't know where to parse it to get the username/pass and the rest of the website name. Does any1 know how to get around this?
My question is what if the Username is something like john@company.com? Then the URL will be
With 2 '@' symbol in there, it doesn't know where to parse it to get the username/pass and the rest of the website name. Does any1 know how to get around this?