I’m new here … hoping asking for this correctly.
I have a panel defined with for repeating across a variable, called url, with a set of values which includes IPs, and hostname so this:
192.168.1.1, 184.108.40.206, google.com
The panel is setup to repeat over the variable and it works fine until the query itself comes in. The very simple query looks like this:
When the panel is using the query just above, all my panels says “No Data”.
When the query is using a hard coded value, like “220.127.116.11”, it works just fine.
I found the cause using the Inspect feature on the panel itself. When using hand coded value like “18.104.22.168” the query looks like this:
When the $url variable name is used in the query I get this for the query showing in Inspect:
Notice the double escaping/backslashing going on. That is what is causing my “No Data” issue.
I tried adding in “:raw” to the $url:raw but the variable with formatting specification in this query isn’t interpolated correctly. “:raw” simply becomes part of the query itself.
QUESTION: Is there a way to stop the backslashing all together when using variables in queries ?