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

Unified Diff: Source/core/loader/archive/MHTMLParser.cpp

Issue 22292008: Add 8bit Content-Transfer-Encoding support for reading MHTML files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Try to fix line endings #5 Created 7 years, 4 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 | « LayoutTests/mhtml/transfer_encoding_8bit-expected.txt ('k') | Source/core/platform/network/MIMEHeader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/archive/MHTMLParser.cpp
diff --git a/Source/core/loader/archive/MHTMLParser.cpp b/Source/core/loader/archive/MHTMLParser.cpp
index cf8ae645a6f37dfefa7aa7dc7a795201aa943a0a..1134592743a6b85ad0018491e6c6ebbd1fe8cadb 100644
--- a/Source/core/loader/archive/MHTMLParser.cpp
+++ b/Source/core/loader/archive/MHTMLParser.cpp
@@ -202,6 +202,7 @@ PassRefPtr<ArchiveResource> MHTMLParser::parseNextPart(const MIMEHeader& mimeHea
case MIMEHeader::QuotedPrintable:
quotedPrintableDecode(content->data(), content->size(), data);
break;
+ case MIMEHeader::EightBit:
case MIMEHeader::SevenBit:
case MIMEHeader::Binary:
data.append(content->data(), content->size());
« no previous file with comments | « LayoutTests/mhtml/transfer_encoding_8bit-expected.txt ('k') | Source/core/platform/network/MIMEHeader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698