From c2fe0232ca7d48c502771e29c51b812d60f0cd97 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 10 Sep 2014 16:07:00 +0200 Subject: [PATCH] helpers/attributes: escape value refs #7177 --- library/Icinga/Web/View/helpers/url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/View/helpers/url.php b/library/Icinga/Web/View/helpers/url.php index 3056d3644..e3d23a359 100644 --- a/library/Icinga/Web/View/helpers/url.php +++ b/library/Icinga/Web/View/helpers/url.php @@ -103,7 +103,7 @@ $this->addHelperFunction('attributeToString', function ($key, $value) return sprintf( '%s="%s"', $key, - $value + $this->escape($value) ); });