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

Komponente Checks & agents
Titel 'local' check: raised ValueError (No escaped character) or (No closing quotation)
Datum 01.04.2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks