From ee8b4e7d4bb2140d5a19bc1dc95a12fa642a786c Mon Sep 17 00:00:00 2001 From: the lemons Date: Mon, 7 Feb 2022 16:08:37 -0600 Subject: add "secure" thing to cookies --- zzcxz.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zzcxz.cgi b/zzcxz.cgi index c7ec545..f722b1b 100755 --- a/zzcxz.cgi +++ b/zzcxz.cgi @@ -347,7 +347,7 @@ map["^/g/(%w%w%w%w%w)$"] = function(p) for flagname, text in pairs(directives.flags_updated) do if text then table.insert(cookies, - ('flag_%s=%s; max-age=999999999999') + ('flag_%s=%s; secure; max-age=999999999999') :format(flagname, url_encode(text))) else -- clear the cookie by expiring it in the past -- cgit v1.2.3