Question about variables
Guillaume Quintard
guillaume at varnish-software.com
Wed Jul 6 22:35:30 CEST 2016
I haven't checked the code, but it's probably because var.get returns ""
when it can't find the variables. So the condition is true, there is a
string, even though it's empty. Maybe try with :
if (var.get(.....) ~ ".")
just to make sure it's not empty
You can also use sdt.log() to try and print what's inside various variables
and debug that using varnishlog.
--
Guillaume Quintard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160706/7ebbd257/attachment.html>
More information about the varnish-misc
mailing list