diff options
author | the lemons <citrons@mondecitronne.com> | 2022-02-07 16:08:37 -0600 |
---|---|---|
committer | the lemons <citrons@mondecitronne.com> | 2022-02-07 16:08:37 -0600 |
commit | ee8b4e7d4bb2140d5a19bc1dc95a12fa642a786c (patch) | |
tree | ea79e186d1dad7f9244552752b023e42cbc54b37 | |
parent | 658139771dffb486ae4887038a76ad691ca1b153 (diff) |
add "secure" thing to cookies
-rwxr-xr-x | zzcxz.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |