diff options
author | alecpl <alec@alec.pl> | 2011-03-31 12:32:44 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-03-31 12:32:44 +0000 |
commit | 382b8b1351e1a4598f04ab184cec803b96d7e4b7 (patch) | |
tree | 4a168a018618445f53afd5aa651fb655e68149d9 /index.php | |
parent | 5228a5558f0ee9af785f1b4cdcef4d97b17b33f6 (diff) |
- Applied fixes from trunk
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -182,7 +182,7 @@ else { // check client X-header to verify request origin if ($OUTPUT->ajax_call) { - if (rc_request_header('X-Roundcube-Request') != $RCMAIL->get_request_token()) { + if (rc_request_header('X-Roundcube-Request') != $RCMAIL->get_request_token() && !$RCMAIL->config->get('devel_mode')) { header('HTTP/1.1 404 Not Found'); die("Invalid Request"); } |