| Index: third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp b/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
|
| index 34f11635dff20c2d7761f64769517a40a16ae0ba..b4283a13f7a3968de43ad915b335f1d7721270b7 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.cpp
|
| @@ -91,6 +91,9 @@ bool CSPSource::portMatches(const KURL& url) const
|
| if (port == m_port)
|
| return true;
|
|
|
| + if (m_port == 80 && (port == 443 || (port == 0 && defaultPortForProtocol(url.protocol()) == 443)))
|
| + return true;
|
| +
|
| if (!port)
|
| return isDefaultPortForProtocol(m_port, url.protocol());
|
|
|
|
|