From 037af6890fe6fdb84a08d3c86083e847c90ec0ad Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 22 Oct 2013 08:17:26 -0400 Subject: [PATCH] Fix vulnerability in handling _session argument of utils/save-prefs (#1489382) --- program/js/editor.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/editor.js b/program/js/editor.js index 3782de8..bc36e9a 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -80,7 +80,7 @@ if (rcmail.env.default_font) $(tinyMCE.get(rcmail.env.composebody).getBody()).css('font-family', rcmail.env.default_font); - if (elem && elem.type == 'select-one' && !rcmail.env.opened_extwin) { + if (elem && elem.type == 'select-one') { rcmail.change_identity(elem); // Focus previously focused element if (fe && fe.id != rcmail.env.composebody) { -- Gitblit v1.9.1