Werk #12708: '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 13, 2021 | ||
Level | Trivial Change | ||
Class | Bug Fix | ||
Compatibility | Compatible - no manual interaction needed | ||
Checkmk versions & editions |
|
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 back to split() and looks for opening and closing quotes manually and thus eleminating shlex related problems.