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

Commits:

1 changed file:

Changes:

  • netwerk/base/nsNetUtil.cpp
    ... ... @@ -3054,7 +3054,8 @@ nsresult NS_ShouldSecureUpgrade(
    3054 3054
       }
    
    3055 3055
       // If it is a mixed content trustworthy loopback, then we shouldn't upgrade
    
    3056 3056
       // it.
    
    3057
    -  if (nsMixedContentBlocker::IsPotentiallyTrustworthyLoopbackURL(aURI)) {
    
    3057
    +  if (nsMixedContentBlocker::IsPotentiallyTrustworthyLoopbackURL(aURI) ||
    
    3058
    +      nsMixedContentBlocker::IsPotentiallyTrustworthyOnion(aURI)) {
    
    3058 3059
         aShouldUpgrade = false;
    
    3059 3060
         return NS_OK;
    
    3060 3061
       }