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
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to