diff options
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 3 |
1 files changed, 0 insertions, 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(); |