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

Unified Diff: chrome_frame/urlmon_url_request.cc

Issue 1128013: Fix ChromeFrame referrer test which was flaky due to incorrect http header pa... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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_frame/urlmon_moniker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/urlmon_url_request.cc
===================================================================
--- chrome_frame/urlmon_url_request.cc (revision 42275)
+++ chrome_frame/urlmon_url_request.cc (working copy)
@@ -497,9 +497,7 @@
// NOTE(slightlyoff): We don't use net::HttpResponseHeaders here because
// of lingering ICU/base_noicu issues.
if (enable_frame_busting_) {
- std::string http_headers = net::HttpUtil::AssembleRawHeaders(
- raw_headers.c_str(), raw_headers.length());
- if (http_utils::HasFrameBustingHeader(http_headers)) {
+ if (http_utils::HasFrameBustingHeader(raw_headers)) {
DLOG(ERROR) << "X-Frame-Options header other than ALLOWALL " <<
"detected, navigation canceled";
return E_FAIL;
« no previous file with comments | « chrome_frame/urlmon_moniker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698