Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: Source/platform/mhtml/MHTMLParser.cpp

Issue 1027623003: Archive loading should be case insensitive to mimetype "multipart/related" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: .mht uploaded as binary Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/loader/DocumentLoader.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mhtml/MHTMLParser.cpp
diff --git a/Source/platform/mhtml/MHTMLParser.cpp b/Source/platform/mhtml/MHTMLParser.cpp
index 6c1c4b86846950c6910ce9c77f9671474aede4bd..7ba2df9a116e17cf97956015771600f97d128280 100644
--- a/Source/platform/mhtml/MHTMLParser.cpp
+++ b/Source/platform/mhtml/MHTMLParser.cpp
@@ -65,7 +65,7 @@ public:
static PassRefPtrWillBeRawPtr<MIMEHeader> parseHeader(SharedBufferChunkReader* crLFLineReader);
- bool isMultipart() const { return m_contentType.startsWith("multipart/"); }
+ bool isMultipart() const { return m_contentType.startsWith("multipart/", TextCaseInsensitive); }
String contentType() const { return m_contentType; }
String charset() const { return m_charset; }
« no previous file with comments | « Source/core/loader/DocumentLoader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698