From bf8878eb5c98b4e3966a7a086bf51f822181b711 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 2 Apr 2024 01:51:40 +0200 Subject: remove last remnants of failed utest mode --- it_url.class | 3 --- 1 file changed, 3 deletions(-) (limited to 'it_url.class') 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"); -- cgit v1.2.3