Re: @ character in http login
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: @ character in http login

From: Michael B. Trausch <michael.trausch.no.spam@comcast.net>
Date: Sun Apr 23 2006 - 10:51:06 CEST

simonp@nospam.com wrote in <e2f4lq$js4$1@reader1.panix.com> on Sun April 23
2006 01:51:

>
> Thank you for the pointer, it pointed me to the right solution.
>
> It looks like &#64; is the escape character that works for @,
> rather than %40. On using the parse_url() function on the url,
> the correct email username was returned for the user element in
> the resulting array.
>
> Cheers
> Simon
>

Very good... I didn't realize that the server would recognize it in that
fashion. You could probably use urldecode() for getting the %40 out of it,
did you try it that way?

If you do, I'd be curious to see the result. I don't have the ambition to
code that up for a test right now, since I've got other things keeping my
plate rather full at the moment... <G>

        - Mike
Received on Mon May 1 03:02:23 2006