]> code.citadel.org Git - citadel.git/commitdiff
* fix basic auth
authorWilfried Göesgens <willi@citadel.org>
Tue, 19 May 2009 19:50:51 +0000 (19:50 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 19 May 2009 19:50:51 +0000 (19:50 +0000)
webcit/auth.c

index c38bbd51bf67c23ebc004d413fd38d6dfbe7109e..2f3d61bd82c30c99d9f49ccb446838bcb0d572be 100644 (file)
@@ -971,6 +971,7 @@ void CheckAuthBasic(ParsedHttpHdrs *hdr)
        if (hdr->DontNeedAuth)
                return;
 */
+       StrBufAppendBufPlain(hdr->plainauth, HKEY(":"), 0);
        StrBufAppendBuf(hdr->plainauth, hdr->user_agent, 0);
        hdr->SessionKey = hashlittle(SKEY(hdr->plainauth), 89479832);