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 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.2.8b1 1.2.7i4 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.