mod_http_muc_log: Allow trailing slash after date
For compat with links generated by mod_muc_log_http
--- 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);