Not escaping special characters in query text edit mode

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.

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