From f8702557c899e3fb1ef3344021628598604c518b Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 21 Dec 2023 19:18:45 -0500 Subject: [PATCH] Remove Trailing slash for config_base_url during setup --- setup.php | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.php b/setup.php index ca90e09b..3a230305 100644 --- a/setup.php +++ b/setup.php @@ -38,6 +38,7 @@ if (isset($_POST['add_database'])) { $username = trim($_POST['username']); $password = trim($_POST['password']); $config_base_url = $_SERVER['HTTP_HOST'] . dirname($_SERVER['REQUEST_URI']); + $config_base_url = rtrim($config_base_url, '/'); $installation_id = randomString(32);