Skip to content

Commit

Permalink
remove rtrim
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsn authored and musmanikram committed Mar 12, 2020
1 parent b76cbe5 commit 4940453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4940453

Please sign in to comment.