view README @ 4651:8231774f5bfd

mod_cloud_notify_encrypted: Ensure body substring remains valid UTF-8 The `body:sub()` call risks splitting the string in the middle of a multi-byte UTF-8 sequence. This should have been caught by util.stanza validation, but that would have caused some havoc, at the very least causing the notification to not be sent. There have been no reports of this happening. Likely because this module isn't widely deployed among users with languages that use many longer UTF-8 sequences. The util.encodings.utf8.valid() function is O(n) where only the last sequence really needs to be checked, but it's in C and expected to be fast.
author Kim Alvefur <zash@zash.se>
date Sun, 22 Aug 2021 13:22:59 +0200
parents 4fed2379f5be
children
line wrap: on
line source

prosody-modules
===============

*Add-on modules for Prosody IM Server*

--------------------------------------------------------------------------

Community repository for non-core, unofficial and/or experimental plugins 
for [Prosody][].

If you are a developer and would like to host your Prosody module in this 
repository, or want to contribute to existing modules, simply introduce 
yourself and request commit access on our [mailing list][].

Notes for users
----------------

There are lots of fun and exciting modules to be found here, we know 
you'll like it.  However please note that each module is in a different 
state of development.  Some are proof-of-concept, others are quite stable 
and ready for production use.  Be sure to read the wiki page of any 
module before installing it on your server.

We are working on methods to easily download and install modules from 
this repository.  In the meantime most modules are either a single file 
and easy to install, or contain installation instructions on their wiki 
page.  You can browse the files stored in this repository at 
<https://hg.prosody.im/prosody-modules>.

[Prosody]: https://prosody.im/
[mailing list]: https://prosody.im/discuss