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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user