diff options
author | Urban Müller | 2010-06-14 12:48:32 +0000 |
---|---|---|
committer | Urban Müller | 2010-06-14 12:48:32 +0000 |
commit | 543b6cdbb6d9d1c5b8c6db15349bd2cdb9bec332 (patch) | |
tree | 902b369243fddba43b40fda5a82f7bd5e73f97aa /it_url.class | |
parent | 9c7a8a552851a43c6287c5f93650199aa5465412 (diff) | |
download | itools-543b6cdbb6d9d1c5b8c6db15349bd2cdb9bec332.tar.gz itools-543b6cdbb6d9d1c5b8c6db15349bd2cdb9bec332.tar.bz2 itools-543b6cdbb6d9d1c5b8c6db15349bd2cdb9bec332.zip |
add backtrace to suppressed redirect
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 2 |
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)); |