Re: @ character in http login



Michael B. Trausch wrote:
Gordon Burditt wrote in <124lsguc12j3o95@xxxxxxxxxxxxxxxxxx> on Sat April 22
2006 23:18:


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


FYI, you may want to read to ensure that the question hasn't been answered
the same way you're about to answer it. It is bad form; the question was
answered twelve minutes prior to you posting the same thing.

Regards,
Mike


And it's even worse form to criticize someone for repeating the content of YOUR OWN post 12 minutes after you posted it.

This is not a "I got the right answer first" contest. This is about helping each other.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • 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)
  • Re: Adding user to group with # in username
    ... "jeepers" wrote in message ... > We have a script that will add users to a group but if the username starts ... with a # character, the script errors and the user is not added to the ... at the begining of the username. ...
    (microsoft.public.windows.server.scripting)