Fix command line string

This commit is contained in:
Jean Flach 2018-12-03 16:31:06 +01:00 committed by Michael Friedrich
parent 553f6f6ba9
commit 50aa0eb1d3

View File

@ -72,6 +72,7 @@ String RedisWriter::FormatCommandLine(const Value& commandLine)
} else if (!commandLine.IsEmpty()) {
result = commandLine;
boost::algorithm::replace_all(result, "\'", "\\'");
result = "'" + result + "'";
}
return result;