summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2010-06-14 12:48:32 +0000
committerUrban Müller2010-06-14 12:48:32 +0000
commit543b6cdbb6d9d1c5b8c6db15349bd2cdb9bec332 (patch)
tree902b369243fddba43b40fda5a82f7bd5e73f97aa
parent9c7a8a552851a43c6287c5f93650199aa5465412 (diff)
downloaditools-543b6cdbb6d9d1c5b8c6db15349bd2cdb9bec332.tar.gz
itools-543b6cdbb6d9d1c5b8c6db15349bd2cdb9bec332.tar.bz2
itools-543b6cdbb6d9d1c5b8c6db15349bd2cdb9bec332.zip
add backtrace to suppressed redirect
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 5db8d24..9fa2e91 100644
--- a/it_url.class
+++ b/it_url.class
@@ -613,7 +613,7 @@ function redirect($url = null)
$url = preg_replace("/[\r\n].*/", '', it_url::absolute($url)); # Security: cut after CR/LF
if (EDC('noredir'))
- echo "<a href='" . htmlspecialchars($url) . "'>" . htmlspecialchars($url) . "</a><br />";
+ echo "<a href='" . htmlspecialchars($url) . "'>" . htmlspecialchars($url) . "</a><br />" . it_debug::backtrace();
else
header('Location: ' . it_untaint($url, TC_SELF));