diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-12-16 13:34:48 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-12-16 13:34:48 +0100 |
commit | 7259529fad909c51bd412135827af08155f72e19 (patch) | |
tree | f79ef0636570e4efd902759b050fbfc87aeb647d | |
parent | 681ba6fc3c296cd6cd11050531b8f4e785141786 (diff) |
Get rid of requests whitelist for security check bypass
-rw-r--r-- | program/include/rcmail.php | 8 |
1 files changed, 0 insertions, 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( |