зеркало из https://github.com/mozilla/pjs.git
fixes bug 246106 "Defensive (anti-phishing) auth prompts are displayed when they should not be displayed" r+sr=dveditz
This commit is contained in:
Родитель
1c77027593
Коммит
fa7e4162e0
|
@ -2528,6 +2528,9 @@ nsHttpChannel::ConfirmAuth(const nsString &bundleKey, PRBool doYesNoPrompt)
|
|||
if (!prompt)
|
||||
return PR_TRUE;
|
||||
|
||||
// do not prompt again
|
||||
mSuppressDefensiveAuth = PR_TRUE;
|
||||
|
||||
PRBool confirmed;
|
||||
if (doYesNoPrompt) {
|
||||
PRInt32 choice;
|
||||
|
|
Загрузка…
Ссылка в новой задаче