Werk #12094: 'local' check: raised ValueError (No escaped character) or (No closing quotation)

Component Checks & agents
Title 'local' check: raised ValueError (No escaped character) or (No closing quotation)
Date Apr 1, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The way 'local' splits it's input in order to be able to recognize (quoted) service names with spaces (namely shlex.split()) would stumble upon inconsistent input. This change switches to discrete regex matching and thus eleminates all shlex related problems.

To the list of all Werks