diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Claim and test Lua 5.5 for every extension
luaossl from release 20260910 and luaposix load under Lua 5.5, and cgit renders the same pages under it as under LuaJIT. Running the suites there already caught a write to a for loop's control variable, which 5.5 makes read-only.
Diffstat (limited to '')
-rw-r--r--custom/extensions/auth-inline.lua6
1 file changed, 3 insertions, 3 deletions
diff --git a/custom/extensions/auth-inline.lua b/custom/extensions/auth-inline.lua
index 093b7b7..e380733 100644
--- a/custom/extensions/auth-inline.lua
+++ b/custom/extensions/auth-inline.lua
@@ -7,9 +7,9 @@
-- users. The companion auth-file.lua behaves identically but reads the same
-- lists from files on disk.
--- The script runs on Lua 5.1, 5.2, 5.3, 5.4 and LuaJIT, and the runtime has to
--- be the same Lua that cgit was built against. Lua 5.5 will not do, because
--- luaossl has no 5.5 build.
+-- The script runs on Lua 5.1 through 5.5 and LuaJIT, and the runtime has to be
+-- the same Lua that cgit was built against. On 5.5 it needs luaossl 20260910
+-- or later, since earlier builds fail to load there.
--
-- The session cookie is marked Secure by default, so a browser only sends
-- it back over HTTPS. On an instance served over plain HTTP login loops