aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthe lemons <citrons@mondecitronne.com>2022-02-07 16:08:37 -0600
committerthe lemons <citrons@mondecitronne.com>2022-02-07 16:08:37 -0600
commitee8b4e7d4bb2140d5a19bc1dc95a12fa642a786c (patch)
treeea79e186d1dad7f9244552752b023e42cbc54b37
parent658139771dffb486ae4887038a76ad691ca1b153 (diff)
add "secure" thing to cookies
-rwxr-xr-xzzcxz.cgi2
1 files changed, 1 insertions, 1 deletions
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