Werk #13420: Fix section parsing with different separators

Component Core & setup
Title Fix section parsing with different separators
Date May 19, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

In checkmk it's possible to transport a single section with different separators:

<<<section:sep(44)>>> a,1 <<<section:sep(124)>>> b|2 <<<section:sep(44)>>> c,3

Up until this werk, the ordering of the lines where not preserved, the check function would have received them as a,1 c,3 b,2

To the list of all Werks