Title: [151962] trunk/Source/WebCore
Revision
151962
Author
[email protected]
Date
2013-06-25 05:57:44 -0700 (Tue, 25 Jun 2013)

Log Message

"application/x-mimearchive" should be included in finding remoteWebArchive while document loading
https://bugs.webkit.org/show_bug.cgi?id=117734

Patch by Santosh Mahto <[email protected]> on 2013-06-25
Reviewed by Alexey Proskuryakov.

"application/x-mimearchive" is also used  while checking for
 RemoteArchive.

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::continueAfterContentPolicy):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (151961 => 151962)


--- trunk/Source/WebCore/ChangeLog	2013-06-25 11:35:54 UTC (rev 151961)
+++ trunk/Source/WebCore/ChangeLog	2013-06-25 12:57:44 UTC (rev 151962)
@@ -1,3 +1,16 @@
+2013-06-25  Santosh Mahto  <[email protected]>
+
+        "application/x-mimearchive" should be included in finding remoteWebArchive while document loading
+        https://bugs.webkit.org/show_bug.cgi?id=117734
+
+        Reviewed by Alexey Proskuryakov.
+
+        "application/x-mimearchive" is also used  while checking for
+         RemoteArchive.
+
+        * loader/DocumentLoader.cpp:
+        (WebCore::DocumentLoader::continueAfterContentPolicy):
+
 2013-06-25  Allan Sandfeld Jensen  <[email protected]>
 
         HTMLMediaElement should inherit from MediaPlayerClient privately

Modified: trunk/Source/WebCore/loader/DocumentLoader.cpp (151961 => 151962)


--- trunk/Source/WebCore/loader/DocumentLoader.cpp	2013-06-25 11:35:54 UTC (rev 151961)
+++ trunk/Source/WebCore/loader/DocumentLoader.cpp	2013-06-25 12:57:44 UTC (rev 151962)
@@ -655,6 +655,7 @@
     case PolicyUse: {
         // Prevent remote web archives from loading because they can claim to be from any domain and thus avoid cross-domain security checks (4120255).
         bool isRemoteWebArchive = (equalIgnoringCase("application/x-webarchive", mimeType)
+            || equalIgnoringCase("application/x-mimearchive", mimeType)
 #if PLATFORM(GTK)
             || equalIgnoringCase("message/rfc822", mimeType)
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to