diff options
author | David Flatz | 2015-02-13 11:37:38 +0100 |
---|---|---|
committer | David Flatz | 2015-02-13 11:37:38 +0100 |
commit | d131dc1ad2538b8aeb0ac5a39f368e21575e5977 (patch) | |
tree | 05adde2e48469b6bdf234844c2bb21d722d34cf0 | |
parent | 892620f635ce205f36aa40fa6d8860f6032ab3d7 (diff) | |
download | itools-d131dc1ad2538b8aeb0ac5a39f368e21575e5977.tar.gz itools-d131dc1ad2538b8aeb0ac5a39f368e21575e5977.tar.bz2 itools-d131dc1ad2538b8aeb0ac5a39f368e21575e5977.zip |
remove alert because of too many false positives
-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(); |