From 2da28a1d2891e42c3c6d0af6b191a7f77b726eb7 Mon Sep 17 00:00:00 2001 From: Josh Date: Sat, 1 Aug 2026 11:51:03 -0400 Subject: [PATCH] fix(setup): stop redirect after CAN_INSTALL removal failure Signed-off-by: Josh --- core/Controller/SetupController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Controller/SetupController.php b/core/Controller/SetupController.php index aa0ce4e1118eb..1ae5849a13a43 100644 --- a/core/Controller/SetupController.php +++ b/core/Controller/SetupController.php @@ -115,6 +115,7 @@ private function finishSetup(): void { if ($this->setupHelper->shouldRemoveCanInstallFile()) { $this->templateManager->printGuestPage('', 'installation_incomplete'); + return; } header('Location: ' . Server::get(IURLGenerator::class)->getAbsoluteURL('index.php/core/apps/recommended'));