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

Unified Diff: content/renderer/render_view_impl.cc

Issue 128173002: Fix referrer policy passing during redirects (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « content/browser/frame_host/navigation_controller_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 3f5319ebf74cacb12198be56ca31b4779789f52e..a39f81c59d047c1c73302376cd5a675730a619d5 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1963,7 +1963,7 @@ void RenderViewImpl::UpdateURL(WebFrame* frame) {
} else {
// Bug 654101: the referrer will be empty on https->http transitions. It
// would be nice if we could get the real referrer from somewhere.
nasko 2014/01/08 17:11:09 Is this comment still valid after your change?
jochen (gone - plz use gerrit) 2014/01/08 19:06:04 Yes, if the referrer was stripped, it's not on any
- params.referrer = GetReferrerFromRequest(frame, original_request);
+ params.referrer = GetReferrerFromRequest(frame, ds->request());
}
base::string16 method = request.httpMethod();
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698