mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1722202 - Exempt WPAD requests from HTTPS-only mode upgrades r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D121939
This commit is contained in:
parent
9f18e86200
commit
31a43b0d79
@ -685,6 +685,7 @@ void nsPACMan::ContinueLoadingAfterPACUriKnown() {
|
||||
// allow deprecated HTTP request from SystemPrincipal
|
||||
nsCOMPtr<nsILoadInfo> loadInfo = channel->LoadInfo();
|
||||
loadInfo->SetAllowDeprecatedSystemRequests(true);
|
||||
loadInfo->SetHttpsOnlyStatus(nsILoadInfo::HTTPS_ONLY_EXEMPT);
|
||||
|
||||
channel->SetLoadFlags(nsIRequest::LOAD_BYPASS_CACHE);
|
||||
channel->SetNotificationCallbacks(this);
|
||||
|
Loading…
Reference in New Issue
Block a user