We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a18623 commit d48372eCopy full SHA for d48372e
plugins/system/sef/src/Extension/Sef.php
@@ -364,7 +364,7 @@ public function removeTrailingSlash(&$router, &$uri)
364
{
365
$path = $uri->getPath();
366
367
- if ($path != '/' && str_ends_with($path, '/')) {
+ if ($path != Uri::base(true) . '/' && str_ends_with($path, '/')) {
368
$uri->setPath(substr($path, 0, -1));
369
}
370
0 commit comments