mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 16:57:36 +00:00
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:
parent
8a0c9d8ce7
commit
77486c0d04
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user