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

Unified Diff: net/base/mime_util.cc

Issue 9965069: MHTML loading fix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « chrome/browser/ui/webui/chromeos/gdata_source.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mime_util.cc
diff --git a/net/base/mime_util.cc b/net/base/mime_util.cc
index 85f5d15b9411898e9fac2d44ef33f8a8307c4253..79c73098f898934c85236c0b3d36bc667a984fb4 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -305,7 +305,7 @@ static const char* const supported_non_image_types[] = {
"application/json",
"application/x-x509-user-cert",
"multipart/related", // For MHTML support.
- "multipart/x-mixed-replace"
+ "multipart/x-mixed-replace",
// Note: ADDING a new type here will probably render it AS HTML. This can
// result in cross site scripting.
};
« no previous file with comments | « chrome/browser/ui/webui/chromeos/gdata_source.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698