Werk #2986: Event Console: Text elements of events are now correctly quoted in shell scripts
Komponente | Event Console | ||||
Titel | Event Console: Text elements of events are now correctly quoted in shell scripts | ||||
Datum | 29.01.2016 | ||||
Level | Kleine Änderung | ||||
Klasse | Bugfix | ||||
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen | ||||
Checkmk versions & editions |
|
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.