# HG changeset patch # User Kim Alvefur # Date 1554825928 -7200 # Node ID 0ebb7112c102a16849bc12a26872eafd7dc62599 # Parent d56cb74a0db879bbd65b9258ee2ee47a0dbca5b3 mod_http_muc_log: Allow trailing slash after date For compat with links generated by mod_muc_log_http diff -r d56cb74a0db8 -r 0ebb7112c102 mod_http_muc_log/mod_http_muc_log.lua --- 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);