From 7259529fad909c51bd412135827af08155f72e19 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 16 Dec 2014 13:34:48 +0100 Subject: Get rid of requests whitelist for security check bypass --- program/include/rcmail.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 8b47a8d6c..a16319f72 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -867,14 +867,6 @@ class rcmail extends rcube */ public function request_security_check($mode = rcube_utils::INPUT_POST) { - // don't check for valid request tokens in these actions - // @TODO: get rid of this - $request_check_whitelist = array('spell'=>1, 'spell_html'=>1); - - if ($request_check_whitelist[$this->action]) { - return; - } - // check request token if (!$this->check_request($mode)) { self::raise_error(array( -- cgit v1.2.3