Werk #10559: Web API: Fix validation of non-ASCII characters in custom attributes

Component User interface
Title Web API: Fix validation of non-ASCII characters in custom attributes
Date Nov 28, 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.0p7 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When creating or editing a host using the Web API, the custom host attributes are not correctly validated. The GUI prevents the user from inserting non-ASCII characters, but the Web API did not. These unexpected characters could result in issues at different places of Checkmk.

To the list of all Werks