| Index: extensions/common/csp_validator.cc
|
| diff --git a/extensions/common/csp_validator.cc b/extensions/common/csp_validator.cc
|
| index fc3f541a041bfc0c30db7360e0bd8ec37895b65d..65edd0a3aaffb578226972e59369a15c6b7fc8e0 100644
|
| --- a/extensions/common/csp_validator.cc
|
| +++ b/extensions/common/csp_validator.cc
|
| @@ -87,6 +87,11 @@ bool isNonWildcardTLD(const std::string& url,
|
| if (!is_wildcard_subdomain || !should_check_rcd)
|
| return true;
|
|
|
| + // Allow *.googleapis.com to be whitelisted for backwards-compatibility.
|
| + // (crbug.com/409952)
|
| + if (host == "googleapis.com")
|
| + return true;
|
| +
|
| // Wildcards on subdomains of a TLD are not allowed.
|
| size_t registry_length = net::registry_controlled_domains::GetRegistryLength(
|
| host,
|
|
|