From 1c11554e269460aa6e234b9de1952802a5ce8008 Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Thu, 26 Jan 2023 22:37:11 +0100 Subject: Set path on flash cookies to / to avoid redirect pbs when path=/docs/ --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 204803a..c593db9 100644 --- a/main.go +++ b/main.go @@ -376,6 +376,7 @@ func sendFlash(w http.ResponseWriter, r *http.Request, name, s string) { Name: name, Value: str, MaxAge: 0, + Path: "/", // Only https on qutebrowser //Secure: true, HttpOnly: true, -- cgit v1.2.3