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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.6.0b5 2.0.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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