Re: @ character in http login
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Sun, 23 Apr 2006 10:50:28 -0500
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
==================
.
- Follow-Ups:
- Re: @ character in http login
- From: Michael B. Trausch
- Re: @ character in http login
- References:
- @ character in http login
- From: simonp
- Re: @ character in http login
- From: Gordon Burditt
- Re: @ character in http login
- From: Michael B. Trausch
- @ character in http login
- Prev by Date: PHP 5.1.2 and PEAR Logger
- Next by Date: Re: Job title: $300 flat for job in perl, cgi, Visual Basic/Asp.Net, whatever online project
- Previous by thread: Re: @ character in http login
- Next by thread: Re: @ character in http login
- Index(es):
Relevant Pages
|