Mercurial > prosody-modules
annotate mod_firewall/scripts/spam-strip-xhtml.pfw @ 3099:c88f91626e07
mod_pastebin: Off-by-one, the hardest problem known to man
The threshold set to 4 allowed 4 lines and pastebinned 5. 040eaa3844f4
unintentionally changed this so that 4 lines were pastebinned. This
commit restores the previous behavior.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 03 Jun 2018 14:09:30 +0200 |
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 |