From ab9d1bf97ed2015829bcc5381c149d2826d04015 Mon Sep 17 00:00:00 2001 From: Robo Date: Fri, 25 Dec 2015 02:19:56 +0530 Subject: [PATCH] renderer: dont fork the process when there is server redirect --- atom/renderer/atom_renderer_client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/renderer/atom_renderer_client.cc b/atom/renderer/atom_renderer_client.cc index e0d40189f204..486aa2e234ef 100644 --- a/atom/renderer/atom_renderer_client.cc +++ b/atom/renderer/atom_renderer_client.cc @@ -194,7 +194,7 @@ bool AtomRendererClient::ShouldFork(blink::WebLocalFrame* frame, // 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"; + return http_method == "GET" && !is_server_redirect; } content::BrowserPluginDelegate* AtomRendererClient::CreateBrowserPluginDelegate(