Files
helium/patches/ungoogled-chromium/disable-untraceable-urls.patch
wukko e67c0db58f patches: move everything from contrib to root dir (#557)
now all chromium patches in all helium repos follow
the same dir pattern: `<vendor>/<group>/<...>/<patch>`

and there's no longer a "contrib" dir which was admittedly
kind of confusing
2025-12-04 01:43:34 +06:00

34 lines
1.1 KiB
C++

# Disable additional URLs that are not caught by the "trk" scheme
--- a/rlz/lib/financial_ping.cc
+++ b/rlz/lib/financial_ping.cc
@@ -308,7 +308,7 @@ FinancialPing::PingResponse FinancialPin
response->clear();
std::string url =
- base::StringPrintf("https://%s%s", kFinancialServer, request);
+ base::StringPrintf("https://%s%s", "about:blank", request);
// Use a waitable event to cause this function to block, to match the
// wininet implementation.
--- a/rlz/lib/lib_values.cc
+++ b/rlz/lib/lib_values.cc
@@ -45,7 +45,6 @@ const char kSetDccResponseVariable[] = "
//
const char kFinancialPingPath[] = "/tools/pso/ping";
-const char kFinancialServer[] = "trk:443:clients1.google.com"; /* not using URLRequest! catch with cache.ir */
const int kFinancialPort = 443;
// Ping times in 100-nanosecond intervals.
--- a/rlz/lib/lib_values.h
+++ b/rlz/lib/lib_values.h
@@ -72,7 +72,6 @@ extern const char kSetDccResponseVariabl
//
extern const char kFinancialPingPath[];
-extern const char kFinancialServer[];
extern const int kFinancialPort;