mod_http_muc_log/mod_http_muc_log.lua
changeset 3564 0ebb7112c102
parent 3490 887ce59cf396
child 3582 ea63dc0cc824
--- a/mod_http_muc_log/mod_http_muc_log.lua	Sat Apr 06 18:53:19 2019 +0200
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Tue Apr 09 18:05:28 2019 +0200
@@ -231,7 +231,7 @@
 
 	-- FIXME In the year, 105105, if MUC is still alive,
 	-- if Prosody can survive... Enjoy this Y10k bug
-	local room, date = path:match("^(.-)/(%d%d%d%d%-%d%d%-%d%d)$");
+	local room, date = path:match("^(.-)/(%d%d%d%d%-%d%d%-%d%d)/?$");
 	room = nodeprep(room);
 	if not room then
 		return years_page(event, path);