Bug 971347 - Fix autoconfig vulnerable to active MITM attacks for all domains (including the ones in ISPDB)

Tag #1273
This commit is contained in:
Matt A. Tobin 2019-11-11 00:37:33 -05:00 • committed by Roy Tam
commit 0f7827bc8d
4 changed files with 153 additions and 77 deletions

View file

@ -393,8 +393,8 @@ EmailConfigWizard.prototype =
/**
* Start from beginning with possibly new email address.
*/
onStartOver : function()
{
onStartOver : function() {
this._currentConfig = null;
if (this._abortable) {
this.onStop();
}
@ -640,8 +640,9 @@ EmailConfigWizard.prototype =
self._abortable = guessConfig(domain,
function(type, hostname, port, ssl, done, config) // progress
{
gEmailWizardLogger.info("progress callback host " + hostname +
" port " + port + " type " + type);
var msg = hostname + ":" + port + " ssl=" + ssl + " " +
type + ": progress callback";
gEmailWizardLogger.info(msg);
},
function(config) // success
{