Skip to content

Commit

Permalink
Remove DoubleClick cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasgeniar committed Dec 10, 2014
1 parent dff34b4 commit f5beb2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions production.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -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.=[^;]+(; )?", "");

Expand Down

0 comments on commit f5beb2e

Please sign in to comment.