From 4940453e64425f53451ac1677192f737f6d36b11 Mon Sep 17 00:00:00 2001 From: michalsn Date: Sat, 29 Feb 2020 21:40:56 +0100 Subject: [PATCH] remove rtrim --- system/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Common.php b/system/Common.php index 60e87fae3041..19a02f90632b 100644 --- a/system/Common.php +++ b/system/Common.php @@ -417,7 +417,7 @@ function force_https(int $duration = 31536000, RequestInterface $request = null, if (strpos($baseURL, 'http://') === 0) { - $baseURL = (string) substr(rtrim($baseURL, '/'), strlen('http://')); + $baseURL = (string) substr($baseURL, strlen('http://')); } $uri = URI::createURIString(