From 6386e1840276a6e7c720f4b376a3af6f4428ade4 Mon Sep 17 00:00:00 2001 From: brave-builds Date: Thu, 25 Jul 2019 17:38:43 +0000 Subject: [PATCH] Uplift of #2975 (squashed) to release --- common/shield_exceptions.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/common/shield_exceptions.cc b/common/shield_exceptions.cc index 3c269f9bf45c..3c2806ed5911 100644 --- a/common/shield_exceptions.cc +++ b/common/shield_exceptions.cc @@ -59,7 +59,13 @@ bool IsWhitelistedCookieException(const GURL& firstPartyOrigin, } // 1st-party-dependent whitelist - static std::map > whitelist_patterns = {}; + static std::map > whitelist_patterns = { + { + GURL("https://www.sliver.tv/"), + std::vector({URLPattern(URLPattern::SCHEME_ALL, + "https://*.thetatoken.org:8700/*")}) + } + }; std::map >::iterator i = whitelist_patterns.find(firstPartyOrigin); if (i == whitelist_patterns.end()) {