1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

Minor, make side nav filter view get trailing slashes correct regardless of input.

This commit is contained in:
epriestley 2012-10-12 13:21:16 -07:00
parent ce2c0543bf
commit 141b3d2b8f

View file

@ -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'])) {