Re: @ character in http login



I am trying to use the basic http://user:password@xxxxxxxxxxx
form for authentication inside a script.

My only problem is my username contains the @ character (its an
email address). As result, the url seems to be parsing
incorrectly.

Has anyone found a way around this problem?

You may be able to use something like
http://username%40hotmail.com:password@xxxxxxxxxxx

where @ is converted to %40 . The same approach may apply if the
password contains odd characters like @, colon, space, %, etc.

Gordon L. Burditt
.



Relevant Pages

  • Re: @ character in http login
    ... form for authentication inside a script. ... My only problem is my username contains the @ character (its an ...
    (comp.lang.php)
  • Re: Newbie seeks modem advice
    ... I used the "reset" part so that it would send a reset string to the modem when it locked up ... script and wvdial.conf file. ... but wouldn't obtain an IP until the authentication stuff was ...
    (uk.comp.os.linux)
  • Re: PPP LCP: timeout
    ... authentication isn't done _directly_ on the box that ... On the box you are dialing into, it looks at the username, and MAY make ... a decision which authentication server to ask. ... you will see the chat script looking for a login ...
    (comp.os.linux.networking)
  • Re: windows login info
    ... That script is running under the context of the IUSR account, ... Search for "authentication methods" there though too ... I tried below code but its giving me machine name instead of username.. ... Dim X ...
    (microsoft.public.inetserver.asp.general)
  • Re: @ character in http login
    ... form for authentication inside a script. ... My only problem is my username contains the @ character (its an ... Thank you for the pointer, it pointed me to the right solution. ... is the escape character that works for @, ...
    (comp.lang.php)