summaryrefslogtreecommitdiff
path: root/it_url.class
diff options
context:
space:
mode:
authorDavid Flatz2015-02-13 11:37:38 +0100
committerDavid Flatz2015-02-13 11:37:38 +0100
commitd131dc1ad2538b8aeb0ac5a39f368e21575e5977 (patch)
tree05adde2e48469b6bdf234844c2bb21d722d34cf0 /it_url.class
parent892620f635ce205f36aa40fa6d8860f6032ab3d7 (diff)
downloaditools-d131dc1ad2538b8aeb0ac5a39f368e21575e5977.tar.gz
itools-d131dc1ad2538b8aeb0ac5a39f368e21575e5977.tar.bz2
itools-d131dc1ad2538b8aeb0ac5a39f368e21575e5977.zip
remove alert because of too many false positives
Diffstat (limited to 'it_url.class')
-rw-r--r--it_url.class3
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();