Module: check_mk
Branch: master
Commit: 94f013303467fcfd3c532141485230005c205ed2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=94f013303467fc…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Sep 17 11:14:19 2014 +0200
add two missing attrencodes
---
web/plugins/views/painters.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index 35b2220..1cd0f17 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -465,14 +465,14 @@ multisite_painters["svc_check_command"] = {
"title" : _("Service check command"),
"short" : _("Check command"),
"columns" : ["service_check_command"],
- "paint" : lambda row: (None, row["service_check_command"]),
+ "paint" : lambda row: (None,
html.attrencode(row["service_check_command"])),
}
multisite_painters["svc_check_command_expanded"] = {
"title" : _("Service check command expanded"),
"short" : _("Check command expanded"),
"columns" : ["service_check_command_expanded"],
- "paint" : lambda row: (None,
row["service_check_command_expanded"]),
+ "paint" : lambda row: (None,
html.attrencode(row["service_check_command_expanded"])),
}
multisite_painters["svc_contacts"] = {