v0.39.2
This commit is contained in:
1 parent
d455028de3
commit
5b2eaaff61
36 files changed
+2544
-102
No files matched your search
@@ -16,8 +16,12 @@ sub vcl_recv {
|
||||
if (req.http.Cookie ~ "^(?:__cf_bm|cf_clearance|_cfuvid|__cfruid|__cfseq|_abck|ak_bmsc|bm_sz|bm_sv)=[^;]*(?:;[ \t]*(?:__cf_bm|cf_clearance|_cfuvid|__cfruid|__cfseq|_abck|ak_bmsc|bm_sz|bm_sv)=[^;]*)*$") {
|
||||
unset req.http.Cookie;
|
||||
}
|
||||
// Remaining cookies: Cookie/session guard. RustProxy extension
|
||||
// return(cookie_pass) bypasses pages like return(pass) but lets public
|
||||
// static assets use the cache when "Ignore request cookies for static
|
||||
// files" is on. In stock Varnish use return(pass) here.
|
||||
if (req.http.Cookie) {
|
||||
return(pass);
|
||||
return(cookie_pass);
|
||||
}
|
||||
return(hash);
|
||||
}
|
||||
Reference in new issue
Block a user