diff options
author | thomascube <thomas@roundcube.net> | 2011-10-30 11:34:31 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-10-30 11:34:31 +0000 |
commit | abdf31486a946d63623c3047d08e7730926c4d86 (patch) | |
tree | 28727469589c57b0b624726d31fcddaba8f89011 /index.php | |
parent | 187ff4e59719cf7b695ce9190ed3967885f557bb (diff) |
Allow cross-task ajax requests
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -195,7 +195,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() && !$RCMAIL->config->get('devel_mode')) { - header('HTTP/1.1 404 Not Found'); + header('HTTP/1.1 403 Forbidden'); die("Invalid Request"); } } |