InfluxData.Net icon indicating copy to clipboard operation
InfluxData.Net copied to clipboard

" in string fields are not working

Open RF77 opened this issue 8 years ago • 3 comments

I cannot write string fields, if the string contains one ore more ". If I escape the " by myself e.g.

data.MessageContent.Replace(""", "\""))

then it's working correct.

I use Version 8.0.1

RF77 avatar Nov 08 '17 17:11 RF77

Hi, could you please provide a bit more info. Which lib module/method were you using. It would be ideal if you could provide me with something I could use to reproduce your issue. Thnx

tihomir-kit avatar Nov 09 '17 20:11 tihomir-kit

Hi, I'm using the InfluxDbClient like this

await _influxDbClient.Client.WriteAsync(point, _influxDbName, retentionPolicy, precision);

point has a string field and the value contains a "

Hope that helps

RF77 avatar Nov 10 '17 13:11 RF77

Additionally also backslashes are not escaped correctly within String Fields.

Velok avatar Sep 07 '18 09:09 Velok