diff options
author | the lemons <citrons@mondecitronne.com> | 2022-02-07 23:06:14 -0600 |
---|---|---|
committer | the lemons <citrons@mondecitronne.com> | 2022-02-07 23:06:14 -0600 |
commit | f7126e5a5f3121f452af65d94b81ef79d44cbc98 (patch) | |
tree | 77eb54ef583012faebf2efad774142ca2245b8c2 | |
parent | 3c7016ef719a310c480daca489d03bdd44ed4fba (diff) |
I forgot "secure" in the cookies
-rwxr-xr-x | zzcxz.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |