Werk #8845: Web-API: Prevent adding wrong encoded labels to hosts / rulesets
| Component | Setup | ||||
| Title | Web-API: Prevent adding wrong encoded labels to hosts / rulesets | ||||
| Date | Aug 1, 2019 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
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.