Check_MK's public GIT repository

This is the public GIT repository of Check_MK, a unique Addon for Nagios developed by Mathias Kettner.
This also contains MK Livestatus, a new Nagios event broker module that is a very fast and efficient replacement for NDO.

You can create your local clone of Check_MK with:
git clone http://git.mathias-kettner.de/check_mk.git
FIX: Fixed encoding problem in "custom notification" message
authorLars Michelsen <lm@mathias-kettner.de>
Wed, 14 Mar 2012 08:14:29 +0000 (09:14 +0100)
committerLars Michelsen <lm@mathias-kettner.de>
Wed, 14 Mar 2012 08:14:29 +0000 (09:14 +0100)
ChangeLog
web/plugins/views/commands.py

index e892377..28ac828 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
     WATO:
     * FIX: deletion of automation accounts now works
 
+    Multisite
+    * FIX: Fixed encoding problem in "custom notification" message
+
 1.2.0b1:
     Core, Setup, etc.:
     * new tool 'livedump' for dumping configuration and status
index 5b94590..1e088c4 100644 (file)
@@ -197,7 +197,7 @@ config.declare_permission("action.customnotification",
 
 def command_custom_notification(cmdtag, spec, row):
     if html.var("_customnotification"):
-        comment = html.var("_cusnot_comment")
+        comment = html.var_utf8("_cusnot_comment")
         broadcast = html.get_checkbox("_cusnot_broadcast") and 1 or 0
         forced = html.get_checkbox("_cusnot_forced") and 2 or 0
         command = "SEND_CUSTOM_%s_NOTIFICATION;%s;%s;%s;%s" % \