From c97a3ffcf4017538222e00007fd4773400c82062 Mon Sep 17 00:00:00 2001 From: Evert Mulder Date: Wed, 25 Apr 2018 13:12:33 +0200 Subject: [PATCH] Do not store console popups in session --- app/controllers/application_controller.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 8a6a1f6eb02..2acd334b66a 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1872,6 +1872,9 @@ def remember_tab url = URI.parse(request.url).path + # Do not include console popup windows urls. Only urls from the main UI are supported. + return if %w(launch_vmware_console launch_html5_console).any? { |i| url.include?(i) } + section.parent_path.each do |sid| session[:tab_url][sid] = url end