From cb5481b9b818c20c0cc8586e0fb30b8fe7ec6da8 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Wed, 29 Aug 2012 07:25:33 +0000 Subject: temp fix --- index.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/index.php b/index.php index 750ce878d..38104d239 100644 --- a/index.php +++ b/index.php @@ -3,6 +3,19 @@ * */ +// temporary poor fix for bad queries +// if (isset($_GET['id']) && isset($_GET['msg'])) { +if (false !== strpos($_SERVER['QUERY_STRING'], 'Tenemos')) { + header('HTTP/1.1 503 Service Temporarily Unavailable'); + header('Status: 503 Service Temporarily Unavailable'); + header('Retry-After: 7200'); + /* + header('HTTP/1.0 404 Not Found'); + header('Status: 404 Not Found'); + */ + die; +} + require_once 'langs.inc.php'; // NOTE, this should go to the main controller in the next platform -- cgit v1.2.1