| Index: third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
|
| index 03605790cc5c973bb052939b73e2d709362d0fd1..fdfb075847d1d5c7800b54cbc6aa60495a924e49 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
|
| @@ -62,7 +62,7 @@ bool SourceListDirective::allows(
|
| if (m_allowStar) {
|
| if (url.protocolIsInHTTPFamily() || url.protocolIs("ftp") ||
|
| url.protocolIs("ws") || url.protocolIs("wss") ||
|
| - m_policy->protocolMatchesSelf(url))
|
| + m_policy->protocolEqualsSelf(url.protocol()))
|
| return true;
|
|
|
| return hasSourceMatchInList(url, redirectStatus);
|
|
|