From f5beb2e78f56619513ac1644b8a6817d1217b7aa Mon Sep 17 00:00:00 2001 From: Mattias Geniar Date: Wed, 10 Dec 2014 09:18:23 +0100 Subject: [PATCH] Remove DoubleClick cookies --- production.vcl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/production.vcl b/production.vcl index a569e90..f9b694f 100644 --- a/production.vcl +++ b/production.vcl @@ -107,6 +107,9 @@ sub vcl_recv { set req.http.Cookie = regsuball(req.http.Cookie, "utmcmd.=[^;]+(; )?", ""); set req.http.Cookie = regsuball(req.http.Cookie, "utmccn.=[^;]+(; )?", ""); + # Remove DoubleClick offensive cookies + set req.http.Cookie = regsuball(req.http.Cookie, "__gads=[^;]+(; )?", ""); + # Remove the Quant Capital cookies (added by some plugin, all __qca) set req.http.Cookie = regsuball(req.http.Cookie, "__qc.=[^;]+(; )?", "");