[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.1.0esr-14.0-1] fixup! Bug 23247: Communicating security expectations for .onion



Title: GitLab

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

Commits:

  • 880f3361
    by Pier Angelo Vendrame at 2024-08-21T12:45:09+02:00
    fixup! Bug 23247: Communicating security expectations for .onion
    
    Bug 43013: Mixed content upgrades also .onion domains.
    

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
       }
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits