Software / code / prosody
Comparison
util/jsonschema.lua @ 11717:605484fc1c62
mod_pubsub: Normalize 'publisher' JID
All the XEP-0060 examples have the publisher attribute set to a bare
JID, but the text does allow it to be the full JID.
Since mod_pubsub is more likely used for open nodes that anyone can
subscribe to it makes sense to not leak the full JIDs. This is also
disabled by defaults.
In mod_pep on the other hand it might make sense to have the full JID
since that data is more likely to be broadcast to contacts which are
already somewhat trusted.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 25 Jul 2021 14:01:45 +0200 |
| parent | 11460:a8b4e04bc044 |
| child | 12132:4ff0d33dfb2b |
comparison
equal
deleted
inserted
replaced
| 11716:30f1e826cc95 | 11717:605484fc1c62 |
|---|