mirror of
https://github.com/morgan9e/helium
synced 2026-04-14 00:14:20 +09:00
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
14 lines
785 B
C++
14 lines
785 B
C++
# Split up the learn.doubleclick.net string literal to prevent domain substitution breaking compilation due to the use of the excluded HSTS list json file in this code.
|
|
|
|
--- a/net/tools/transport_security_state_generator/transport_security_state_generator.cc
|
|
+++ b/net/tools/transport_security_state_generator/transport_security_state_generator.cc
|
|
@@ -129,7 +129,7 @@ bool CheckDuplicateEntries(const Transpo
|
|
bool CheckNoopEntries(const TransportSecurityStateEntries& entries) {
|
|
for (const auto& entry : entries) {
|
|
if (!entry->force_https && entry->pinset.empty()) {
|
|
- if (entry->hostname == "learn.doubleclick.net") {
|
|
+ if (entry->hostname == "learn.double" "click." "net") {
|
|
// This entry is deliberately used as an exclusion.
|
|
continue;
|
|
}
|