From 0647f490770392ddaa7ea2ce5f77647e2b0d8133 Mon Sep 17 00:00:00 2001 From: "darin%netscape.com" Date: Wed, 26 Sep 2001 23:59:18 +0000 Subject: [PATCH] fixes bug 101602 "IBM accessibility Proxy server not responding correctly" r=gagan, sr=mscott git-svn-id: svn://10.0.0.236/trunk@103885 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/protocol/http/src/nsHttpBasicAuth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/netwerk/protocol/http/src/nsHttpBasicAuth.cpp b/mozilla/netwerk/protocol/http/src/nsHttpBasicAuth.cpp index c840d70691e..39133f02e16 100644 --- a/mozilla/netwerk/protocol/http/src/nsHttpBasicAuth.cpp +++ b/mozilla/netwerk/protocol/http/src/nsHttpBasicAuth.cpp @@ -66,7 +66,7 @@ nsHttpBasicAuth::GenerateCredentials(nsIHttpChannel *httpChannel, LOG(("nsHttpBasicAuth::GenerateCredentials [challenge=%s]\n", challenge)); // we only know how to deal with Basic auth for http. - PRBool isBasicAuth = !PL_strncasecmp(challenge, "basic ", 6); + PRBool isBasicAuth = !PL_strncasecmp(challenge, "basic", 5); NS_ENSURE_TRUE(isBasicAuth, NS_ERROR_UNEXPECTED); NS_ENSURE_ARG_POINTER(creds);