data-icinga-module="= $moduleName ?>" data-icinga-url="= Url::fromRequest()->without('renderLayout'); ?>"= $refresh; ?> style="display: block">
+
data-icinga-module="= $moduleName ?>" data-icinga-url="= $this->escape(Url::fromRequest()->without('renderLayout')->getAbsoluteUrl()); ?>"= $refresh; ?> style="display: block">
= $this->render($inlineLayoutScript) ?>
diff --git a/application/views/scripts/mixedPagination.phtml b/application/views/scripts/mixedPagination.phtml
index 0c4ad94c4..e92a9c92c 100644
--- a/application/views/scripts/mixedPagination.phtml
+++ b/application/views/scripts/mixedPagination.phtml
@@ -10,7 +10,7 @@
$this->totalItemCount
) ?>
-
@@ -44,7 +44,7 @@
);
?>
current ? ' class="active nav-item"' : ' class="nav-item"' ?>>
-
= $page ?>
@@ -60,7 +60,7 @@
$this->totalItemCount
) ?>
-
diff --git a/library/Icinga/Web/Widget/Tab.php b/library/Icinga/Web/Widget/Tab.php
index 9c9a1630a..d2d3f327b 100644
--- a/library/Icinga/Web/Widget/Tab.php
+++ b/library/Icinga/Web/Widget/Tab.php
@@ -309,7 +309,7 @@ class Tab extends AbstractWidget
$tab = sprintf(
'%s',
- $this->url,
+ $this->view()->escape($this->url->getAbsoluteUrl()),
$params,
$caption
);
diff --git a/library/Icinga/Web/Widget/Tabs.php b/library/Icinga/Web/Widget/Tabs.php
index ffe7934a2..f490302a8 100644
--- a/library/Icinga/Web/Widget/Tabs.php
+++ b/library/Icinga/Web/Widget/Tabs.php
@@ -342,7 +342,7 @@ EOT;
'{LABEL}'
),
array(
- $url,
+ $this->view()->escape($url->getAbsoluteUrl()),
$title,
$label
),