diff --git a/src/core/CommandParser.cc b/src/core/CommandParser.cc index 618b9c3..b5a6e69 100644 --- a/src/core/CommandParser.cc +++ b/src/core/CommandParser.cc @@ -27,7 +27,11 @@ bool CommandParser::parse(const EncodedString & command) while (it != end) { uint32_t cp = *it; - if ((quote != 0u) && (cp == quote)) + if (cp == '\n') + { + /* Skip newline character */ + } + else if ((quote != 0u) && (cp == quote)) { quote = 0u; }