Ipstenu / varnish-http-purge

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

keep query parameters of $url in purgeUrl #14

Closed shaula closed 8 years ago

shaula commented 9 years ago

If I add custom URLs via the vhp_purge_urls filter, then these URLs loose their query parameters. This pull request adds them again.

Ipstenu commented 8 years ago

Sorry about letting this sit so long. Can you describe the use-case for this? That is, what situation are you running into with additional query params that you want to keep? I think the code looks fine, but I want to understand how you're getting there, as there are some cases where one may not want to keep the params.

Ipstenu commented 8 years ago

FYI, this is merged into Branch REL_3.9. There was a repo restructure that made it weird. My bad.