Mercurial > prosody-modules
diff mod_http_oauth2/mod_http_oauth2.lua @ 5514:61b8d3eb91a4
mod_http_oauth2: Revert strict form check to allow consent of multiple scopes
Untested commit breaks everything, news at 11
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 02 Jun 2023 11:20:08 +0200 |
parents | 0005d4201030 |
children | d87d0e4a8516 |
line wrap: on
line diff
--- a/mod_http_oauth2/mod_http_oauth2.lua Fri Jun 02 11:03:57 2023 +0200 +++ b/mod_http_oauth2/mod_http_oauth2.lua Fri Jun 02 11:20:08 2023 +0200 @@ -551,7 +551,7 @@ and request.body and request.body ~= "" and request.headers.content_type == "application/x-www-form-urlencoded" - and strict_formdecode(request.body); + and http.formdecode(request.body); if type(form) ~= "table" then return {}; end