From c000dc2fd6552b96555f62ca3c77f23cd9d35fa4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 20 Jun 2010 21:19:07 +0000 Subject: [PATCH] Possible fix while a spider/bot has issued a redirect --- inc/functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/functions.php b/inc/functions.php index a1577f58a7..7fb03af448 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -987,6 +987,9 @@ function redirectToUrl ($URL, $allowSpider = true) { // Simple probe for bots/spiders from search engines if ((isSpider()) && ($allowSpider === true)) { + // Set HTTP-Status + setHttpStatus('200 OK'); + // Set content-type here to fix a missing array element setContentType('text/html'); -- 2.39.2