Werk #16131: timeperiods: 'name' field no longer allows newline characters

Component REST API
Title timeperiods: 'name' field no longer allows newline characters
Date Sep 15, 2023
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p11 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This werk addresses an issue identified by our QA team. Previously, you could include the newline character in the timeperiod field 'name' when creating a timeperiod via the following endpoint

/domain-types/time_period/collections/all

We have now made pattern matching stricter, which means that this is no longer allowed.

To the list of all Werks