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

Unified Diff: webkit/plugins/ppapi/ppb_url_request_info_impl.cc

Issue 9325075: Tokenize Http headers on both /r and /n. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_url_request_info_impl.cc
===================================================================
--- webkit/plugins/ppapi/ppb_url_request_info_impl.cc (revision 119104)
+++ webkit/plugins/ppapi/ppb_url_request_info_impl.cc (working copy)
@@ -76,7 +76,7 @@
const std::string& headers = data().headers;
if (!headers.empty()) {
- net::HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\n");
+ net::HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\n\r");
while (it.GetNext()) {
dest->addHTTPHeaderField(
WebString::fromUTF8(it.name()),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698