[PHP-DEV] Re: Strange auth bug From: Ben Laurie (ben <email protected>)
Date: 11/11/98

Rasmus Lerdorf wrote:
>
> I am trying to track down a weird bug here. Just wondering if anybody has
> run across something similar.
>
> When I authenticate on a page using a user id of: tätär
> and a password of: blah
>
> IE sends an Authorization header which looks like this:
>
> Basic dOR05HI6YmxhaA==
>
> while Netscape sends:
>
> Basic dOR0
>
> What gives? Unless I missed something, this looks like a pretty basic
> browser bug.

I'll wager Netscape are using a signed char in their base 64 encoder...

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org/
and Technical Director|Email: ben <email protected> |
A.L. Digital Ltd,     |Apache-SSL author     http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache/

-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>