Pier Angelo Vendrame pushed to branch tor-browser-102.5.0esr-12.5-1 at The Tor Project / Applications / Tor Browser

Commits:

1 changed file:

Changes:

  • browser/base/content/browser-siteIdentity.js
    ... ... @@ -857,11 +857,11 @@ var gIdentityHandler = {
    857 857
         } else if (this._isAboutNetErrorPage || this._isAboutBlockedPage) {
    
    858 858
           // Network errors and blocked pages get a more neutral icon
    
    859 859
           this._identityBox.className = "unknownIdentity";
    
    860
    +    } else if (this._uriIsOnionHost) {
    
    861
    +      this._identityBox.className = "onionUnknownIdentity";
    
    860 862
         } else if (this._isPotentiallyTrustworthy) {
    
    861
    -      // This is a local resource or an onion site (and shouldn't be marked insecure).
    
    862
    -      this._identityBox.className = this._uriIsOnionHost
    
    863
    -        ? "onionUnknownIdentity"
    
    864
    -        : "localResource";
    
    863
    +      // This is a local resource (and shouldn't be marked insecure).
    
    864
    +      this._identityBox.className = "localResource";
    
    865 865
         } else {
    
    866 866
           // This is an insecure connection.
    
    867 867
           let warnOnInsecure =