From db2c30d4182eff3e4c7df5ef09b173561e89240f Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 14 Jun 2022 17:09:33 +0200 Subject: [PATCH] ConfigMenu: Use absolute URLs in nav items --- library/Icinga/Web/Navigation/ConfigMenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Navigation/ConfigMenu.php b/library/Icinga/Web/Navigation/ConfigMenu.php index d78ec8cf0..4d5caee4e 100644 --- a/library/Icinga/Web/Navigation/ConfigMenu.php +++ b/library/Icinga/Web/Navigation/ConfigMenu.php @@ -263,7 +263,7 @@ class ConfigMenu extends BaseHtmlElement [ HtmlElement::create( 'a', - Attributes::create(['href' => $item['url']]), + Attributes::create(['href' => Url::fromPath($item['url'])]), [ $item['label'], isset($healthBadge) ? $healthBadge : ''