Mercurial > prosody-modules
annotate mod_firewall/scripts/spam-strip-xhtml.pfw @ 3816:8473fd2d09c1
mod_rest: Default to replying with same type as request
If you send JSON then you get JSON back unless you say something
different with the Accept header.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 01 Jan 2020 16:40:10 +0100 |
parents | f20dd383093a |
children |
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 |