From ba9ad55274de9412f0a2112d1f57eda784615c2f Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Tue, 18 Jul 2017 10:00:50 +1200 Subject: [PATCH] FIX Base URL defaults to a slash in currentURL if not defined already --- src/Core/Startup/ParameterConfirmationToken.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Core/Startup/ParameterConfirmationToken.php b/src/Core/Startup/ParameterConfirmationToken.php index 45b363097..7a887839c 100644 --- a/src/Core/Startup/ParameterConfirmationToken.php +++ b/src/Core/Startup/ParameterConfirmationToken.php @@ -185,8 +185,7 @@ class ParameterConfirmationToken protected function currentURL() { return Controller::join_links( - BASE_URL, - '/', + BASE_URL ?: '/', $this->request->getURL(false) ); }