view mod_compat_muc_admin/README.markdown @ 4931:13070c6a7ce8

mod_http_muc_log: Fix exception on lack of trailing slash in room path A request to /room leads to the match call returning nil which in turn calls nodeprep(nil). In Prosody 0.11.x this does nothing and simply returns the nil, while in 0.12 it is an error. Now it redirects to the calendar view at /room/ - even for non-existant rooms. Discovered at a deployment with http_paths = { muc_log = "/" } and requests to /robots.txt and similar, which now result in a uses redirect before returning 404.
author Kim Alvefur <zash@zash.se>
date Fri, 22 Apr 2022 14:29:32 +0200
parents bdedf85a3e2e
children
line wrap: on
line source

---
labels:
- 'Stage-Beta'
summary: |
    COMPAT Module for old clients using wrong namespaces in MUC's
    affiliation manipulations.
...

Details
=======

Adds compatibility for old clients/libraries attempting to change
affiliations and retrieve 'em sending the \<
http://jabber.org/protocol/muc\#owner \> xmlns instead of \<
http://jabber.org/protocol/muc\#admin \>.

Usage
=====

Copy the plugin into your prosody's modules directory.

And add it between the enabled muc component's modules

Compatibility
=============

-   0.7-0.8.x