Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #23136: cmcdump: Fix -C with multi-line options

Component The Checkmk Micro Core
Title cmcdump: Fix -C with multi-line options
Date Nov 16, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

A line break in an option of cmcdump -C, e.g. in a -H option with several headers, ended the comment with the command line at the top of the dump, so loading the dump usually failed. Bytes that are not valid UTF-8, e.g. in the socket path, broke the dump, too. The command line is now quoted for bash, with these characters escaped.

To the list of all Werks