Werk #8845: Web-API: Prevent adding wrong encoded labels to hosts / rulesets
Komponente | Setup |
Titel | Web-API: Prevent adding wrong encoded labels to hosts / rulesets |
Datum | 01.08.2019 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.6.0b5 2.0.0i1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
In previous 1.6 releases the Web API did not validate the labels that could e.g. be added to hosts strictly enough. When using "python" as "request_format" this could result in a broken configuration, leading to exceptions in several places of the GUI.
The Web API now ensures the received labes are all unicode strings as Checkmk expects.