| Index: trunk/src/extensions/common/csp_validator.cc
|
| ===================================================================
|
| --- trunk/src/extensions/common/csp_validator.cc (revision 289319)
|
| +++ trunk/src/extensions/common/csp_validator.cc (working copy)
|
| @@ -66,9 +66,9 @@
|
| if (source == "'self'" ||
|
| source == "'none'" ||
|
| source == "http://127.0.0.1" ||
|
| - base::LowerCaseEqualsASCII(source, "blob:") ||
|
| - base::LowerCaseEqualsASCII(source, "filesystem:") ||
|
| - base::LowerCaseEqualsASCII(source, "http://localhost") ||
|
| + LowerCaseEqualsASCII(source, "blob:") ||
|
| + LowerCaseEqualsASCII(source, "filesystem:") ||
|
| + LowerCaseEqualsASCII(source, "http://localhost") ||
|
| StartsWithASCII(source, "http://127.0.0.1:", false) ||
|
| StartsWithASCII(source, "http://localhost:", false) ||
|
| StartsWithASCII(source, "https://", true) ||
|
|
|