Closed SimonTouchtech closed 6 years ago
Actually, this might be more complicated than I expected, it appears to only work with escaping backslash if you do it for the final field, see https://github.com/influxdata/influxdb/issues/3682#issuecomment-137875227. Not sure if this is actually possible to fix in a reasonable way within this library.
I see the issue, and am able to reproduce it. But I don't really see a reasonable way to fix it, as it is more of a bug in the influxdb line protocol parser than anything else.
I agree, closing this issue.
This library correctly follows the documentation which says that the only character that needs to be escaped for string field values is double quotes (
"
). Unfortunately that documentation does not consider the case where a string value ends with backslash, where it needs to be escaped (see https://github.com/influxdata/docs.influxdata.com/issues/1013). This library does not handle that (very specific...) case, leading to a request error.