Bug 1919544 - Do not HTTPS-First upgrade URLs with http:// scheme r=mak,necko-reviewers,urlbar-reviewers,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D228588
This commit is contained in:
@@ -5872,7 +5872,7 @@ already_AddRefed<nsIURI> nsDocShell::AttemptURIFixup(
|
||||
const mozilla::Maybe<nsCString>& aOriginalURIString, uint32_t aLoadType,
|
||||
bool aIsTopFrame, bool aAllowKeywordFixup, bool aUsePrivateBrowsing,
|
||||
bool aNotifyKeywordSearchLoading, nsIInputStream** aNewPostData,
|
||||
bool* outWasSchemelessInput) {
|
||||
nsILoadInfo::SchemelessInputType* outSchemelessInput) {
|
||||
if (aStatus != NS_ERROR_UNKNOWN_HOST && aStatus != NS_ERROR_NET_RESET &&
|
||||
aStatus != NS_ERROR_CONNECTION_REFUSED &&
|
||||
aStatus !=
|
||||
@@ -5958,7 +5958,7 @@ already_AddRefed<nsIURI> nsDocShell::AttemptURIFixup(
|
||||
}
|
||||
if (info) {
|
||||
info->GetPreferredURI(getter_AddRefs(newURI));
|
||||
info->GetWasSchemelessInput(outWasSchemelessInput);
|
||||
info->GetSchemelessInput(outSchemelessInput);
|
||||
if (newURI) {
|
||||
info->GetKeywordAsSent(keywordAsSent);
|
||||
info->GetKeywordProviderName(keywordProviderName);
|
||||
|
||||
Reference in New Issue
Block a user