mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 19:41:49 +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);
|
gHttpHandler->OnExamineResponse(this);
|
||||||
|
|
||||||
// handle unused username and password in url (see bug 232567)
|
// handle unused username and password in url (see bug 232567)
|
||||||
if (httpStatus != 401 && httpStatus != 407)
|
if (httpStatus != 401 && httpStatus != 407) {
|
||||||
CheckForSuperfluousAuth();
|
CheckForSuperfluousAuth();
|
||||||
|
if (mCanceled)
|
||||||
|
return CallOnStartRequest();
|
||||||
|
}
|
||||||
|
|
||||||
// handle different server response categories. Note that we handle
|
// handle different server response categories. Note that we handle
|
||||||
// caching or not caching of error pages in
|
// caching or not caching of error pages in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user