diff options
author | Urban Müller | 2021-11-01 20:34:23 +0100 |
---|---|---|
committer | Urban Müller | 2021-11-01 20:34:23 +0100 |
commit | 00a99269fcc70cd5710a0268ec045261e97d52dc (patch) | |
tree | 77f882b59b10578d4e9111c604b5103dae299f43 /it_url.class | |
parent | 3f80555170d11f7c8f6f976e07f65ca9af55118b (diff) | |
download | itools-00a99269fcc70cd5710a0268ec045261e97d52dc.tar.gz itools-00a99269fcc70cd5710a0268ec045261e97d52dc.tar.bz2 itools-00a99269fcc70cd5710a0268ec045261e97d52dc.zip |
more debug info
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 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')) { |