From acff900c5a3a7c89faaf1141eff706ec221a4dd3 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 08 Oct 2008 04:42:59 -0400 Subject: [PATCH] #1485294: Add recipients address small validation --- index.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/index.php b/index.php index e620183..adab411 100644 --- a/index.php +++ b/index.php @@ -133,7 +133,7 @@ // check client X-header to verify request origin if ($OUTPUT->ajax_call) { - if ($RCMAIL->config->get('devel_mode') && !rc_request_header('X-RoundCube-Referer')) { + if (!$RCMAIL->config->get('devel_mode') && !rc_request_header('X-RoundCube-Referer')) { header('HTTP/1.1 404 Not Found'); die("Invalid Request"); } -- Gitblit v1.9.1