Module: check_mk
Branch: master
Commit: 01e5d6bedaada8ec6d3a1c9c87e70d520a09e34a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=01e5d6bedaada8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jul 25 13:19:02 2018 +0200
6367 FIX Fixed HTML fragments shown in hover title of perfometers
Change-Id: I4d655716504f7a033fbee2e4c273daa2ce22887c
---
.werks/6367 | 11 +++++++++++
cmk/gui/plugins/views/perfometer.py | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/6367 b/.werks/6367
new file mode 100644
index 0000000..5ec6455
--- /dev/null
+++ b/.werks/6367
@@ -0,0 +1,11 @@
+Title: Fixed HTML fragments shown in hover title of perfometers
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.6.0i1
+Date: 1532517527
+
+
diff --git a/cmk/gui/plugins/views/perfometer.py b/cmk/gui/plugins/views/perfometer.py
index ee7b9bd..418d713 100644
--- a/cmk/gui/plugins/views/perfometer.py
+++ b/cmk/gui/plugins/views/perfometer.py
@@ -249,7 +249,7 @@ def paint_perfometer(row):
disabled = True
return " ".join(classes), \
- html.render_a(content=content, href=url, title=title,
+ html.render_a(content=content, href=url, title=html.strip_tags(title),
class_=["disabled" if disabled else None])