aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthe lemons <citrons@mondecitronne.com>2022-02-07 23:06:14 -0600
committerthe lemons <citrons@mondecitronne.com>2022-02-07 23:06:14 -0600
commitf7126e5a5f3121f452af65d94b81ef79d44cbc98 (patch)
tree77eb54ef583012faebf2efad774142ca2245b8c2
parent3c7016ef719a310c480daca489d03bdd44ed4fba (diff)
I forgot "secure" in the cookies
-rwxr-xr-xzzcxz.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/zzcxz.cgi b/zzcxz.cgi
index 48b10f1..45a4f1d 100755
--- a/zzcxz.cgi
+++ b/zzcxz.cgi
@@ -358,7 +358,7 @@ map["^/g/(%w%w%w%w%w)$"] = function(p)
if #hist > 25 then
table.remove(hist, 1)
end
- local hist_cookie = ('history=%s; path=/; max-age=99999999999')
+ local hist_cookie = ('history=%s; path=/; secure; max-age=99999999999')
:format(table.concat(hist, ',')..',')
return base {
@@ -400,6 +400,7 @@ local edit_template = template [[
$content
<hr id="what"/>
$preview
+ $log
<form method="POST">
<p>
<a href="/about#rules">READ THIS</a> before touching anything.