I am trying current dev version for purging varnish content on "node save" and ban request is wrong, I get all statements with Array instead of url to ban.
Returning back to rc4 its all ok.

Jan 30 10:00:46 web4 varnishd[6187]: CLI telnet 127.0.0.1 49193 127.0.0.1 81 Rd ban req.http.host ~ develop.site.com && req.url ~ "^/Array$|^/Array$"

Comments

Marko B created an issue. See original summary.

Marko B’s picture

Issue summary: View changes
Marko B’s picture

Title: Sending wrong ban requests » Sending ban requests as array
Mikael Nord’s picture

The problem lies in varnish.module line 211 which should be changed to

$purge_pattern .= $base_path . array_shift(array_shift($paths)) . '$|^';

from the current

$purge_pattern .= $base_path . array_shift($paths) . '$|^';

Marko B’s picture

Title: Sending ban requests as array » Sending ban requests in varnish as array
Marko B’s picture

Thanx on suggeston