Index: net/base/data_url.cc |
diff --git a/net/base/data_url.cc b/net/base/data_url.cc |
index b03d9976ca6cfad855faf517dde6c0a31260fd3d..a5ca92f29e1c8c4f2c8d258b318d0ed6321844bf 100644 |
--- a/net/base/data_url.cc |
+++ b/net/base/data_url.cc |
@@ -99,7 +99,7 @@ bool DataURL::Parse(const GURL& url, std::string* mime_type, |
if (base64_encoded) { |
temp_data = UnescapeURLComponent(temp_data, |
UnescapeRule::SPACES | UnescapeRule::URL_SPECIAL_CHARS | |
- UnescapeRule::CONTROL_CHARS); |
+ UnescapeRule::SPOOFING_AND_CONTROL_CHARS); |
} |
// Strip whitespace. |
@@ -113,7 +113,7 @@ bool DataURL::Parse(const GURL& url, std::string* mime_type, |
if (!base64_encoded) { |
temp_data = UnescapeURLComponent(temp_data, |
UnescapeRule::SPACES | UnescapeRule::URL_SPECIAL_CHARS | |
- UnescapeRule::CONTROL_CHARS); |
+ UnescapeRule::SPOOFING_AND_CONTROL_CHARS); |
} |
if (base64_encoded) { |