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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.7i4 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.2.8b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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