summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2024-04-02 01:51:40 +0200
committerUrban Müller2024-04-02 01:51:40 +0200
commitbf8878eb5c98b4e3966a7a086bf51f822181b711 (patch)
treeae8bd02816e1a72c02ff540cbdf5d80d8d3af53b
parent727947ce0d55b6d92205ebb083b3eee562051b1a (diff)
downloaditools-bf8878eb5c98b4e3966a7a086bf51f822181b711.tar.gz
itools-bf8878eb5c98b4e3966a7a086bf51f822181b711.tar.bz2
itools-bf8878eb5c98b4e3966a7a086bf51f822181b711.zip
remove last remnants of failed utest mode
-rw-r--r--it_url.class3
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");