Hi!

I have found a small bug in ICS V5 HttpSrv.pas within procedure
tHttpConnection.Answer401:

    Header := FVersion + ' 401 Unauthorized' + #13#10 +
              'WWW-Authenticate: ' +
              //'Digest realm=' + FAuthRealm +        // original
              'Digest realm="' + FAuthRealm + '"' +   // fixed
              ', qop="'       + AuthString + '"' +
              ', nonce="'     + FAuthDigestServerNonce + '"' +
              ', opaque="'    + FAuthDigestServerOpaque + '"';
    if FAuthDigestStale then
        Header := Header + ', stale="true"';

I must admit that I don't know which version conforms to the standards.
It's just the case that in the original code version the auth realm is
displayed wrong in Mozilla Firefox.

Regards,
Tobias

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to