Skip to content
Snippets Groups Projects
Commit 6a905f52 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern: Committed by morgan
Browse files

fixup! Bug 23247: Communicating security expectations for .onion

Bug 43013: Mixed content upgrades also .onion domains.
parent 3752362f
No related branches found
No related tags found
2 merge requests!1202Bug_43099: 2024 YEC Strings,!1136Bug 43085: Rebased alpha onto 128.2.0esr
......@@ -3054,7 +3054,8 @@ nsresult NS_ShouldSecureUpgrade(
}
// If it is a mixed content trustworthy loopback, then we shouldn't upgrade
// it.
if (nsMixedContentBlocker::IsPotentiallyTrustworthyLoopbackURL(aURI)) {
if (nsMixedContentBlocker::IsPotentiallyTrustworthyLoopbackURL(aURI) ||
nsMixedContentBlocker::IsPotentiallyTrustworthyOnion(aURI)) {
aShouldUpgrade = false;
return NS_OK;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment