summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/appcache/ManifestParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/appcache/ManifestParser.cpp')
-rw-r--r--WebCore/loader/appcache/ManifestParser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/loader/appcache/ManifestParser.cpp b/WebCore/loader/appcache/ManifestParser.cpp
index b001bff..f58a55d 100644
--- a/WebCore/loader/appcache/ManifestParser.cpp
+++ b/WebCore/loader/appcache/ManifestParser.cpp
@@ -127,6 +127,9 @@ bool parseManifest(const KURL& manifestURL, const char* data, int length, Manife
if (!equalIgnoringCase(url.protocol(), manifestURL.protocol()))
continue;
+ if (mode == Explicit && manifestURL.protocolIs("https") && !protocolHostAndPortAreEqual(manifestURL, url))
+ continue;
+
if (mode == Explicit)
manifest.explicitURLs.add(url.string());
else