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
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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