Mercurial > prosody-modules
annotate mod_firewall/scripts/spam-strip-xhtml.pfw @ 5447:aa4828f040c5
mod_http_oauth2: Enforce client scope restrictions in authorization
When registering a client, a scope field can be included as a promise to
only ever use those. Here we enforce that promise, if given, ensuring a
client can't request or be granted a scope it didn't provide in its
registration. While currently there is no restrictions at registration
time, this could be changed in the future in various ways.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 May 2023 19:33:44 +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 |