mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 569648 - First async XHR without other network activity has null securityInfo for the channel when using auto-detect proxy. r=dveditz
This commit is contained in:
parent
55fc88f906
commit
ddad34acad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user