From 543b6cdbb6d9d1c5b8c6db15349bd2cdb9bec332 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 14 Jun 2010 12:48:32 +0000 Subject: add backtrace to suppressed redirect --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "" . htmlspecialchars($url) . "
"; + echo "" . htmlspecialchars($url) . "
" . it_debug::backtrace(); else header('Location: ' . it_untaint($url, TC_SELF)); -- cgit v1.2.3