From ee5e36316dbc695aed0356e8fafec7e194584d75 Mon Sep 17 00:00:00 2001 From: fabrizio Date: Fri, 8 Apr 2022 10:34:31 +0000 Subject: [PATCH] fix broken patch --- .../sed-patches/stop-undesired-requests.patch | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/patches/sed-patches/stop-undesired-requests.patch b/patches/sed-patches/stop-undesired-requests.patch index 1dd3ce4..5de1376 100644 --- a/patches/sed-patches/stop-undesired-requests.patch +++ b/patches/sed-patches/stop-undesired-requests.patch @@ -7,7 +7,7 @@ index 92f0652aec..696a99f7ef 100644 className: "providerUrl", target: "_blank", - href: "https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/nimbus-desktop-experiments/records", -+ href: "https://f.s.s.%.c.qjz9zk/v1/buckets/main/collections/nimbus-desktop-experiments/records", ++ href: "https://%.invalid", rel: "noopener noreferrer" }, "nimbus-desktop-experiments"), ")"); } @@ -20,7 +20,7 @@ index c7cde8917c..b398a22064 100644 // Note: if you change this, make sure to also review security.onecrl.maximum_staleness_in_seconds pref("services.settings.poll_interval", 86400); // 24H -pref("services.settings.server", "https://firefox.settings.services.mozilla.com/v1"); -+pref("services.settings.server", "https://f.s.s.%.c.qjz9zk/v1"); ++pref("services.settings.server", "https://%.invalid"); pref("services.settings.default_bucket", "main"); // The percentage of clients who will report uptake telemetry as @@ -28,15 +28,15 @@ diff --git a/services/settings/Utils.jsm b/services/settings/Utils.jsm index 66df850904..1538a2ff0d 100644 --- a/services/settings/Utils.jsm +++ b/services/settings/Utils.jsm -@@ -64,6 +64,6 @@ - !Cu.isInAutomation && - !isXpcshell && - isNotThunderbird -- ? "https://firefox.settings.services.mozilla.com/v1" -+ ? "https://f.s.s.%.c.qjz9zk/v1" - : gServerURL; +@@ -90,7 +90,7 @@ + get SERVER_URL() { + return allowServerURLOverride + ? gServerURL +- : "https://firefox.settings.services.mozilla.com/v1"; ++ : "https://%.invalid"; }, - + + CHANGES_PATH: "/buckets/monitor/collections/changes/changeset", diff --git a/toolkit/components/search/SearchUtils.jsm b/toolkit/components/search/SearchUtils.jsm index 8a3c6acb84..7408b3fd2f 100644 --- a/toolkit/components/search/SearchUtils.jsm @@ -46,10 +46,10 @@ index 8a3c6acb84..7408b3fd2f 100644 ENGINES_URLS: { "prod-main": - "https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/search-config/records", -+ "https://f.s.s.%.c.qjz9zk/v1/buckets/main/collections/search-config/records", ++ "https://%.invalid, "prod-preview": - "https://firefox.settings.services.mozilla.com/v1/buckets/main-preview/collections/search-config/records", -+ "https://f.s.s.%.c.qjz9zk/v1/buckets/main-preview/collections/search-config/records", ++ "https://%.invalid", "stage-main": "https://settings.stage.mozaws.net/v1/buckets/main/collections/search-config/records", "stage-preview":