From 8757da6c4742c19d7008cf35cfdc5883665c2c4f Mon Sep 17 00:00:00 2001 From: Robo Date: Sat, 29 Aug 2015 19:20:09 +0530 Subject: [PATCH] renderer: send referrer for all naviagtions --- atom/renderer/atom_renderer_client.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/atom/renderer/atom_renderer_client.cc b/atom/renderer/atom_renderer_client.cc index 04a89fed3889..86c9eb1cdeb6 100644 --- a/atom/renderer/atom_renderer_client.cc +++ b/atom/renderer/atom_renderer_client.cc @@ -229,6 +229,7 @@ bool AtomRendererClient::ShouldFork(blink::WebFrame* frame, // FIXME We only support GET here because http method will be ignored when // the OpenURLFromTab is triggered, which means form posting would not work, // we should solve this by patching Chromium in future. + *send_referrer = true; return http_method == "GET"; }