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
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.

To the list of all Werks