Not escaping special characters in query text edit mode


#1

Hello,

I noticed different behavior for escaping special characters in query text mode and graphical mode.
If i have a variable defined in query editor, special characters are sanitized correctly. But after switching to text mode editor, special characters from variable like dots and slash are not sanitized.



Grafana version: 5.4.0
InfluxDB: 1.5

Tested also on Grafana 6, where the behavior was same.


Not working regexEscape for rawQuery if variable is not multi or all (InfluxDB)
#2

I am getting the same issue too. I’ve posted my situation to the devs at: