diff options
author | Urban Müller | 2024-04-02 01:51:40 +0200 |
---|---|---|
committer | Urban Müller | 2024-04-02 01:51:40 +0200 |
commit | bf8878eb5c98b4e3966a7a086bf51f822181b711 (patch) | |
tree | ae8bd02816e1a72c02ff540cbdf5d80d8d3af53b /it_url.class | |
parent | 727947ce0d55b6d92205ebb083b3eee562051b1a (diff) | |
download | itools-bf8878eb5c98b4e3966a7a086bf51f822181b711.tar.gz itools-bf8878eb5c98b4e3966a7a086bf51f822181b711.tar.bz2 itools-bf8878eb5c98b4e3966a7a086bf51f822181b711.zip |
remove last remnants of failed utest mode
Diffstat (limited to 'it_url.class')
-rw-r--r-- | it_url.class | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/it_url.class b/it_url.class index ced7a7b..3d407eb 100644 --- a/it_url.class +++ b/it_url.class @@ -879,9 +879,6 @@ static function redirect($url = null, $type = "temporary") $url = preg_replace("/[\r\n].*/", '', static::absolute($url)); # Security: cut after CR/LF - if ($_GET['utest']) - $url = it::replace(['[?&]uok=1' => ""], $url); # remove marker for correctly passed through U() - #if (!$_POST && $url == $_SERVER['SCRIPT_URI']) # it::error("redirect to self. " . $_SERVER['SCRIPT_URI'] . " -> $url"); |