From d131dc1ad2538b8aeb0ac5a39f368e21575e5977 Mon Sep 17 00:00:00 2001 From: David Flatz Date: Fri, 13 Feb 2015 11:37:38 +0100 Subject: remove alert because of too many false positives --- it_url.class | 3 --- 1 file changed, 3 deletions(-) diff --git a/it_url.class b/it_url.class index e721f74..7b20cd5 100644 --- a/it_url.class +++ b/it_url.class @@ -857,9 +857,6 @@ function redirect($url = null, $type = "temporary") $url = preg_replace("/[\r\n].*/", '', it_url::absolute($url)); # Security: cut after CR/LF - if (U($url) == U(it_url::absolute(U()) . ($_SERVER['QUERY_STRING'] ? '?' . $_SERVER['QUERY_STRING'] : '')) && !$_POST) - it::error('Potential redirect loop detected: ' . $url); - if (EDC('noredir')) { if (!function_exists('a')) new it_html(); -- cgit v1.2.3