Active
Project:
Cache Expiration
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2017 at 10:14 UTC
Updated:
31 Jan 2017 at 11:15 UTC
Jump to comment: Most recent
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
Comment #2
Marko B commentedComment #3
Marko B commentedComment #4
Mikael Nord commentedThe 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) . '$|^';Comment #5
Marko B commentedComment #6
Marko B commentedThanx on suggeston