Add missing string escaping to InfluxDB-Writer

fixes #5987
This commit is contained in:
Noah Hilverling 2018-01-17 10:25:42 +01:00
parent e19ae4e052
commit b83af363ef
1 changed files with 3 additions and 0 deletions

View File

@ -321,6 +321,9 @@ String InfluxdbWriter::EscapeValue(const Value& value)
if (value.IsBoolean())
return value ? "true" : "false";
if (value.IsString())
return "\"" + EscapeKeyOrTagValue(value) + "\"";
return value;
}