pkhamre/wp-varnish — pull request #26 by linickx (2012-05-16 17:13:49+00:00)
Title: Varnish v3 bans

Hello,

I wanted to use the admin port method but the "purge req.url" syntax is not compatible with Varnish version 3.

I have created a dropdown in the admin screens (which defaults to v2 for backward compatibility) so that users can select the right version; now the "ban" syntax can be sent for v3 :)

Kind Regards,
Nick

PS: I noticed a typo on line 351 which meant that the same secret was sent to all servers, that is is also fixed in this pull.