From 695719540ba3874b08bfeb9cf470d38ce20be937 Mon Sep 17 00:00:00 2001 From: thijs_a Date: Mon, 13 Nov 2023 15:33:49 +0100 Subject: [PATCH] providers/proxy: Fix duplicate cookies when using file system store. (#7541) Fix duplicate cookies when using file system store. --- internal/outpost/proxyv2/application/session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/outpost/proxyv2/application/session.go b/internal/outpost/proxyv2/application/session.go index 73755cf54..5ffa77b04 100644 --- a/internal/outpost/proxyv2/application/session.go +++ b/internal/outpost/proxyv2/application/session.go @@ -71,7 +71,7 @@ func (a *Application) getStore(p api.ProxyOutpostConfig, externalHost *url.URL) cs.Options.Domain = *p.CookieDomain cs.Options.SameSite = http.SameSiteLaxMode cs.Options.MaxAge = maxAge - cs.Options.Path = externalHost.Path + cs.Options.Path = "/" a.log.WithField("dir", dir).Trace("using filesystem session backend") return cs }