Ipstenu / varnish-http-purge

Proxy Cache Purge
Apache License 2.0
46 stars 48 forks source link

do not use query part for purging when using regex #18

Closed shaula closed 8 years ago

shaula commented 8 years ago

Using the query part for purging is great. Nevertheless I encountered a bug.

When using the regex purge method the query part is set to 'vhp-regex'. The resulting purge-url is then: http://somehost.com/.*?vhp-regex

As a result no page will be purged. Therefore we need to avoid appending this special string.