summaryrefslogtreecommitdiff
path: root/src/Database/InfluxDB/Line.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Database/InfluxDB/Line.hs')
-rw-r--r--src/Database/InfluxDB/Line.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Database/InfluxDB/Line.hs b/src/Database/InfluxDB/Line.hs
index af88ec1..3d15e20 100644
--- a/src/Database/InfluxDB/Line.hs
+++ b/src/Database/InfluxDB/Line.hs
@@ -143,7 +143,7 @@ escapeMeasurement :: Measurement -> Text
escapeMeasurement (Measurement text) = escapeCommas $ escapeSpaces text
escapeStringField :: Text -> Text
-escapeStringField = escapeDoubleQuotes
+escapeStringField = escapeDoubleQuotes . escapeBackslashes
buildFieldValue :: LineField -> B.Builder
buildFieldValue = \case