annotate mod_tos/README.md @ 5086:dec4b2e31d1c
mod_rest: Do not allow replies to <iq type=result> from webhooks
Replying to a result stanza could cause loops, just as replying to an
error.
No stanza.name check here but it should be fine since no other kinds of
stanzas have type=result, and the boolean logic would most definitely be
wrong on the first attempt.
| author |
Kim Alvefur <zash@zash.se> |
| date |
Sun, 27 Nov 2022 00:10:38 +0100 |
| parents |
7f61d89a594d |
| children |
|
| rev |
line source |
|
4655
|
1 # mod_tos
|
|
|
2
|
|
|
3 A very drafty module to implement some kind of Terms of Service acceptance
|
|
|
4 tool.
|
|
|
5
|
|
|
6 Currently, this only works with clients implementing this very drafty
|
|
|
7 protocol. The result of the experiments will be an update to the
|
|
|
8 [ToS ProtoXEP](https://xmpp.org/extensions/inbox/tos.html), with the goal
|
|
|
9 of acceptance.
|