diff --git a/core/main.js b/core/main.js index 24441f90..e62426ee 100644 --- a/core/main.js +++ b/core/main.js @@ -77,6 +77,7 @@ main._initializeSettings = function () { interceptor.allowedDomainsGoogleFonts = items.allowedDomainsGoogleFonts || {}; interceptor.blockMissing = items.blockMissing === undefined ? false : items.blockMissing; interceptor.blockGoogleFonts = items.blockGoogleFonts === undefined ? true : items.blockGoogleFonts; + requestAnalyzer.allowlistedDomains = items.allowlistedDomains || {}; storageManager.type.set(items); }); diff --git a/core/request-sanitizer.js b/core/request-sanitizer.js index 803e6f91..f94ec841 100644 --- a/core/request-sanitizer.js +++ b/core/request-sanitizer.js @@ -62,8 +62,8 @@ requestSanitizer._stripMetadata = function (requestDetails) { let sensitiveHeaders, initiatorDomain, allowlistedDomains; sensitiveHeaders = [Header.COOKIE, Header.ORIGIN, Header.REFERER]; - initiatorDomain = helpers.extractDomainFromUrl(requestDetails.originUrl, true); - allowlistedDomains = stateManager._domainIsListed(initiatorDomain); + initiatorDomain = helpers.extractDomainFromUrl(requestDetails.initiator, true); + allowlistedDomains = helpers.checkAllowlisted(initiatorDomain); if (allowlistedDomains) { return { diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 414e103b..fe688426 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -63,6 +63,7 @@
  • Updated: highlight.js v11.0.1 -> v11.1.0 (#565)
  • Updated: socket.io v4.1.2 -> v4.1.3 (#566)
  • Fixed: Default charset of HTML filter (#567)
  • +
  • Fixed Chromium: Removes metadata only if LocalCDN is enabled (#563)
  • Includes also the following changes, because the release of this version took a long time caused by a broken validation server of Mozilla (More information).