Mercurial > prosody-modules
view mod_s2s_whitelist/README.markdown @ 5513:0005d4201030
mod_http_oauth2: Reject duplicate form-urlencoded parameters
Per RFC 6749 section 3.1
> Request and response parameters MUST NOT be included more than once.
Thanks to OAuch for pointing out
Also cleans up some of the icky behavior of formdecode(), like returning
a string if no '=' is included.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 02 Jun 2023 11:03:57 +0200 |
parents | 313937349fbc |
children |
line wrap: on
line source
This module lets you block connections to any remote servers not on a whitelist. ``` {.lua} modules_enabled = { -- other modules -- "s2s_whitelist", } s2s_whitelist = { "example.org", } ```