summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-10-30 11:37:41 +0000
committerthomascube <thomas@roundcube.net>2011-10-30 11:37:41 +0000
commit44a352b7b8ef4723030e6af2131ebadb4ba525cf (patch)
tree0e96011d39b23450cc6792b88ec326f44c83139b /index.php
parentf1654a33b271f80422729f72d58695130724cb98 (diff)
Backport r5375 to release branch
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index de40cced1..e8c6cef24 100644
--- a/index.php
+++ b/index.php
@@ -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");
}
}