Module: check_mk
Branch: master
Commit: 66f83f0f80de3de99ad0a0e5e8172555b1689de4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=66f83f0f80de3d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Dec 1 08:43:56 2016 +0100
WATO discovery page: Fixed wrong escaped HTML of parameters
---
web/htdocs/wato.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 4c37c7e..c521b9b 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -2983,6 +2983,7 @@ def show_service_table(host, firsttime):
rulespec["valuespec"].validate_datatype(params,
"")
rulespec["valuespec"].validate_value(params,
"")
paramtext =
rulespec["valuespec"].value_to_text(params)
+ html.write_html(paramtext)
except Exception, e:
if config.debug:
err = traceback.format_exc()
@@ -2991,8 +2992,7 @@ def show_service_table(host, firsttime):
paramtext = _("Invalid check parameter: %s!") % err
paramtext += _(" The parameter is: %r") % (params,)
paramtext += _(" The variable name is: %s") % varname
-
- html.write_text(paramtext)
+ html.write_text(paramtext)
# Icon for Service parameters. Not for missing services!
table.cell(css='buttons')