Werk #2986: Event Console: Text elements of events are now correctly quoted in shell scripts

Component Event Console
Title Event Console: Text elements of events are now correctly quoted in shell scripts
Date Jan 29, 2016
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.2.8b1 1.2.7i4
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Text elements (message, comment, contact, etc.) of an event may contain ' and ". The previous Event Console had troubles evaluating these event. Some shell scripts even got stuck..

For example: TEXT=my"text
Shell script: echo $TEXT$ > /tmp/mylog
The actual command looks like echo my"text > /tmp/mylog -> broken command.

To the list of all Werks