From ca776ae17a17d45922442bdec01009472ae24b6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 30 May 2022 17:07:38 +0200 Subject: [PATCH] Do not use RequestHandler::redirect() for controller-less ACP requests Specifically do not pass the unknown `$routeData` which might not be correct for the IndexPage of `wcf`. see ed55fc721676e3a5b7cf52995c2f2701a4902f1e --- .../install/files/lib/system/request/RequestHandler.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php index a15451c7d4..d65337c9a0 100644 --- a/wcfsetup/install/files/lib/system/request/RequestHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RequestHandler.class.php @@ -123,7 +123,9 @@ final class RequestHandler extends SingletonFactory $routeData['controller'] = 'index'; if ($application !== 'wcf') { - $this->redirect($routeData, 'wcf', 'index'); + HeaderUtil::redirect(LinkHandler::getInstance()->getLink(), true, false); + + exit; } } } else { -- 2.20.1