annotate mod_firewall/scripts/spam-strip-xhtml.pfw @ 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 f20dd383093a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2572
f20dd383093a mod_firewall: Add spam-strip-xhtml.pfw
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 # Strip XHTML-IM from messages received from strangers
f20dd383093a mod_firewall: Add spam-strip-xhtml.pfw
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2
f20dd383093a mod_firewall: Add spam-strip-xhtml.pfw
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 ::user/spam_check_message_custom
f20dd383093a mod_firewall: Add spam-strip-xhtml.pfw
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4
f20dd383093a mod_firewall: Add spam-strip-xhtml.pfw
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5 STRIP=html http://jabber.org/protocol/xhtml-im