Module: check_mk
Branch: master
Commit: f4caa30fafb1549f82b2b81c575fc033cdc22e5f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f4caa30fafb154…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Wed Oct 25 12:06:50 2017 +0200
5350 check_http: Special characters in expected string of the content
The option "Fixed string to expect in the content" of the WATO-Rule
"Check HTTP service" now allows the user to enter special character
like umlauts.
Change-Id: If9d373bd5ab35222c524a5e03a32eb9966dc698b
---
.werks/5350 | 12 ++++++++++++
web/plugins/wato/active_checks.py | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/5350 b/.werks/5350
new file mode 100644
index 0000000..71fa635
--- /dev/null
+++ b/.werks/5350
@@ -0,0 +1,12 @@
+Title: check_http: Special characters in expected string of the content
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1508925797
+Class: feature
+
+The option "Fixed string to expect in the content" of the WATO-Rule
+"Check HTTP service" now allows the user to enter special character
+like umlauts.
diff --git a/web/plugins/wato/active_checks.py b/web/plugins/wato/active_checks.py
index ce015c6..95e2f83 100644
--- a/web/plugins/wato/active_checks.py
+++ b/web/plugins/wato/active_checks.py
@@ -1044,7 +1044,7 @@ register_rule(group,
)
),
( "expect_string",
- TextAscii(
+ TextUnicode(
title = _("Fixed string to expect in the
content"),
allow_empty = False,
)