httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <...@engelschall.com>
Subject Re: Strange auth bug
Date Wed, 11 Nov 1998 09:42:36 GMT

In article <19981111084236.A29293@engelschall.com> you wrote:

> In article <Pine.WNT.4.05.9811101958160.-225903@helium.jetpen.com> you 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 am testing with Navigator 4.5 on Win98 and IE5.

> Strange. When I pass this to a RFC2045 compliant base64 encode/decode function
> I get:

> | :> ./base64 encode 'tätär'
> | dOR05HI=
> | rse@en1:/e/apache/SSL/trail
> | :>
> | :> ./base64 decode 'dOR05HI='
> | tätär
> | rse@en1:/e/apache/SSL/trail
> | :>

> which looks more correct to me. So, are both Netscape and IE broken?
> Hmmm... confusing.

Ops, yes: I've to use "tätär/blah" instead of just "tätär".
Then the result is:

| :> ./base64 encode "tätär/blah"
| dOR05HIvYmxhaA==
| rse@en1:/e/apache/SSL/trail
| :>

So, seems like MSIE gets it right while NS is broken...

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message