diff --git a/src/view/layout/AphrontSideNavFilterView.php b/src/view/layout/AphrontSideNavFilterView.php index 900a57c9b5..78b8002223 100644 --- a/src/view/layout/AphrontSideNavFilterView.php +++ b/src/view/layout/AphrontSideNavFilterView.php @@ -193,7 +193,7 @@ final class AphrontSideNavFilterView extends AphrontView { if (empty($item['uri'])) { $href = clone $this->baseURI; - $href->setPath($href->getPath().$key.'/'); + $href->setPath(rtrim($href->getPath().$key, '/').'/'); $href = (string)$href; } else { if (empty($item['relative'])) {