We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f210c22 commit 024bedfCopy full SHA for 024bedf
1 file changed
system/Helpers/url_helper.php
@@ -106,6 +106,7 @@ function base_url($uri = '', string $protocol = null): string
106
{
107
$uri = implode('/', $uri);
108
}
109
+ $uri = trim($uri, '/');
110
111
// We should be using the configured baseURL that the user set;
112
// otherwise get rid of the path, because we have
0 commit comments