Mercurial > prosody-modules
view mod_muc_log_http/muc_log_http/themes/prosody/days_body.html @ 5590:b681948a01f1
mod_http_muc_log: Fix redirect bug
If you somehow went to /muc_log/room/yyyy-mm-dd/something it would send
you in a redirect loop that continuously added path components until the
path can't be parsed anymore.
This should ensure that /muc_log/room/date/ is simply 404'd
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 10 Jul 2023 16:10:57 +0200 |
parents | bdd3e3bfc219 |
children |
line wrap: on
line source
<div id="title"> <div id="date">###SINCE### - ###TO###</div> <div id="roomjid">###JID###</div> <div id="links">(join via <a class="component" href="xmpp:###JID###?join">client</a>)</div> </div> <div id="calendar"> <div id="navigation"> <a class="nav" href="../###PREVIOUS_ROOM###/"><</a> <a class="nav" href="../">^</a> <a class="nav" href="../###NEXT_ROOM###/">></a> </div> <div class="weekday">List of rooms for this component</div> <div id="roomList">###ROOMS###</div> </div> <div class="topic">###ROOMTOPIC###</div> <div id="main"> ###DAYS_STUFF### </div>