diff --git a/toolkit/mozapps/shared/CertUtils.jsm b/toolkit/mozapps/shared/CertUtils.jsm index 9f789526d5b..1ec22adf347 100644 --- a/toolkit/mozapps/shared/CertUtils.jsm +++ b/toolkit/mozapps/shared/CertUtils.jsm @@ -86,7 +86,9 @@ BadCertHandler.prototype = { onChannelRedirect: function(oldChannel, newChannel, flags) { // make sure the certificate of the old channel checks out before we follow // a redirect from it. See bug 340198. - checkCert(oldChannel); + // Don't call checkCert for internal redirects. See bug 569648. + if (!(flags & Components.interfaces.nsIChannelEventSink.REDIRECT_INTERNAL)) + checkCert(oldChannel); }, // Suppress any certificate errors