From 1a1924e166507cc746a9a95f3ab077b21e0ee001 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 26 Jul 2024 17:09:33 +0300 Subject: [PATCH] append ending slash to base location --- .../Browser/Container/Page/Navbar/Base.php | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/Entity/Browser/Container/Page/Navbar/Base.php b/src/Entity/Browser/Container/Page/Navbar/Base.php index a65be0b5..b177f029 100644 --- a/src/Entity/Browser/Container/Page/Navbar/Base.php +++ b/src/Entity/Browser/Container/Page/Navbar/Base.php @@ -23,16 +23,19 @@ class Base extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navbar\ if ($address->getHost()) { $this->navbar->request->setValue( - $address->get( // build base - true, - true, - true, - true, - true, - false, - false, - false - ) + rtrim( + $address->get( + true, + true, + true, + true, + true, + false, + false, + false + ), + '/' + ) . '/' ); $this->navbar->page->update();