diff -r 53eb500b19a4 plugins/mod_http.lua
--- a/plugins/mod_http.lua	Thu Apr 03 20:37:03 2025 +0100
+++ b/plugins/mod_http.lua	Mon Apr 07 16:24:05 2025 -0500
@@ -331,7 +331,7 @@
 
 --- deal with [ipv6]:port / ip:port format
 local function normal_ip(ip)
-	return ip:match("^%[([%x:]*)%]") or ip:match("^([%d.]+)") or ip;
+	return ip:match("^%[([%x:]*)%]") or ip:match("^([%d]+.[%d]+.[%d]+.[%d]+)") or ip;
 end
 
 local function is_trusted_proxy(ip)
