changeset 13914:1bc4e7ab964c

Merge 13.0->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 14 Jul 2025 16:44:10 +0200
parents a0faff6ba853 (current diff) 2f754817bf4b (diff)
children 7761360ffb7b
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/sslconfig.lua	Thu Jul 03 10:59:17 2025 +0100
+++ b/util/sslconfig.lua	Mon Jul 14 16:44:10 2025 +0200
@@ -120,7 +120,7 @@
 	if type(new) == "table" then
 		for field, value in pairs(new) do
 			-- exclude keys which are internal to the config builder
-			if field:sub(1, 1) ~= "_" then
+			if type(field) == "string" and field:sub(1, 1) ~= "_" then
 				(handlers[field] or rawset)(config, field, value);
 			end
 		end