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/steps/settings/about.inc | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/program/steps/settings/about.inc b/program/steps/settings/about.inc index 147b9b8..9b13402 100644 --- a/program/steps/settings/about.inc +++ b/program/steps/settings/about.inc @@ -18,9 +18,6 @@ +-----------------------------------------------------------------------+ | Author: Aleksander Machniak <alec@alec.pl> | +-----------------------------------------------------------------------+ - - $Id: identities.inc 4410 2011-01-12 18:25:02Z thomasb $ - */ @@ -104,7 +101,7 @@ foreach ($metadata as $key => $path) { $data[$key] = $xpath->evaluate($path); } -console($name); + $plugins[$name] = $data; // dependent required plugins (can be used, but not included in config) @@ -113,7 +110,6 @@ for ($i=0; $i<$cnt; $i++) { $dn = $deps->item($i)->nodeValue; -console($dn); if (!array_key_exists($dn, $plugins)) { rcube_plugin_data($dn, $plugins); } -- Gitblit v1.9.1