From 00a99269fcc70cd5710a0268ec045261e97d52dc Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 1 Nov 2021 20:34:23 +0100 Subject: more debug info --- it_url.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it_url.class b/it_url.class index 540fd46..6c4680a 100644 --- a/it_url.class +++ b/it_url.class @@ -831,7 +831,7 @@ static function redirect($url = null, $type = "temporary") $url = preg_replace("/[\r\n].*/", '', it_url::absolute($url)); # Security: cut after CR/LF if (!$_POST && $url == it_url::absolute($_SERVER['REQUEST_URI'])) - it::error("redirect to self: $url"); + it::error("redirect to self. " . it_url::absolute($_SERVER['REQUEST_URI']) . " -> $url"); if (EDC('noredir')) { -- cgit v1.2.3