mod_http_oauth2: Revert strict form check to allow consent of multiple scopes
authorKim Alvefur <zash@zash.se>
Fri, 02 Jun 2023 11:20:08 +0200
changeset 5518 61b8d3eb91a4
parent 5517 0005d4201030
child 5519 f5931ce9b6ca
mod_http_oauth2: Revert strict form check to allow consent of multiple scopes Untested commit breaks everything, news at 11
mod_http_oauth2/mod_http_oauth2.lua
--- 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