From ddf268a6ac8de871a9808e35272ee77e4bcbb3f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Parafi=C5=84ski?= Date: Fri, 6 Sep 2024 15:04:41 +0200 Subject: [PATCH] IBX-8885: Restored ibexa cookies rule (#83) --- resources/platformsh/common/4.6/.platform/varnish.vcl | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/platformsh/common/4.6/.platform/varnish.vcl b/resources/platformsh/common/4.6/.platform/varnish.vcl index 920fac8..36a571d 100644 --- a/resources/platformsh/common/4.6/.platform/varnish.vcl +++ b/resources/platformsh/common/4.6/.platform/varnish.vcl @@ -61,6 +61,7 @@ sub vcl_recv { set req.http.cookie = ";" + req.http.cookie; set req.http.cookie = regsuball(req.http.cookie, "; +", ";"); set req.http.cookie = regsuball(req.http.cookie, ";(eZSESSID[^=]*)=", "; \1="); + set req.http.cookie = regsuball(req.http.cookie, ";(ibexa-[^=]*)=", "; \1="); set req.http.cookie = regsuball(req.http.cookie, ";[^ ][^;]*", ""); set req.http.cookie = regsuball(req.http.cookie, "^[; ]+|[; ]+$", "");