fixes bug 263263 "Dialog box asks if I meant to load www.google.com. If I answer no, it loads anyway." r=bzbarsky sr=dveditz

This commit is contained in:
darin%meer.net 2004-10-12 19:56:07 +00:00
parent 8a0c9d8ce7
commit 77486c0d04

View File

@ -698,8 +698,11 @@ nsHttpChannel::ProcessResponse()
gHttpHandler->OnExamineResponse(this);
// handle unused username and password in url (see bug 232567)
if (httpStatus != 401 && httpStatus != 407)
if (httpStatus != 401 && httpStatus != 407) {
CheckForSuperfluousAuth();
if (mCanceled)
return CallOnStartRequest();
}
// handle different server response categories. Note that we handle
// caching or not caching of error pages in