Mercurial > prosody-modules
view mod_file_management/README.markdown @ 4700:f821eeac0e50
mod_pastebin: Fix pasting when <body> is not the first tag (thanks thorsten)
Introduced in ded630a87563
stanza:get_child() and :get_child_text() operates on the first child
when no name or namespace is given.
If it so happens that the first child is an <thread/> instead of <body>
then it calculates the line length against that instead of the body.
Apparently in the vast majority of clients the <body> is first, so this
issue was not noticed until now.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 29 Sep 2021 13:39:59 +0200 |
parents | d43623bdf91b |
children | 694b62d8a82f |
line wrap: on
line source
--- description: File management for uploaded files labels: 'Stage-Alpha' --- Introduction ============ This module exposes ad-hoc commands [XEP-0050] for listing uploaded files, and later for managing them. Configuration ============= This module depends on mod\_http\_upload, and exposes ad-hoc commands for each operation a user might do on their uploaded files. The module can be added to the `modules_enabled` field on a host on which mod\_http\_upload is loaded. Compatibility ============= Works with Prosody trunk at least.