This is a plugin that implements the JID prep protocol defined in https://xmpp.org/extensions/xep-0328.html
JID prep requests can happen over XMPP using the protocol defined in the document linked above, or alternatively over HTTP. Simply request:
http://server:5280/jid_prep/USER@HOST
The result will be the stringprepped JID, or a 400 Bad Request if the given JID is invalid.
0.9 | Works |
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_jid_prep
For earlier versions see the documentation for installing 3rd party modules