From bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 05 Feb 2016 07:25:27 -0500 Subject: [PATCH] Secure also downloads of addressbook exports, managesieve script exports and Enigma keys exports --- program/steps/mail/headers.inc | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/program/steps/mail/headers.inc b/program/steps/mail/headers.inc index cad113f..7fb8d58 100644 --- a/program/steps/mail/headers.inc +++ b/program/steps/mail/headers.inc @@ -1,6 +1,6 @@ <?php -/* +/** +-----------------------------------------------------------------------+ | program/steps/mail/headers.inc | | | @@ -19,8 +19,7 @@ +-----------------------------------------------------------------------+ */ -if ($uid = get_input_value('_uid', RCUBE_INPUT_POST)) -{ +if ($uid = rcube_utils::get_input_value('_uid', rcube_utils::INPUT_POST)) { $source = $RCMAIL->storage->get_raw_headers($uid); if ($source !== false) { @@ -48,5 +47,3 @@ } exit; - - -- Gitblit v1.9.1