author | Matthew Wild <mwild1@gmail.com> |
Wed, 11 Jan 2023 10:09:12 +0000 | |
changeset 5147 | 1cae382e88a1 |
parent 5146 | 410d7c8d210d |
child 5148 | 606f6c6535bb |
--- a/mod_invites_api/mod_invites_api.lua Wed Jan 11 09:59:55 2023 +0000 +++ b/mod_invites_api/mod_invites_api.lua Wed Jan 11 10:09:12 2023 +0000 @@ -15,7 +15,7 @@ local auth_header = request.headers.authorization; if not auth_header then - params = params or http_formdecode(request.url.query); + params = params or http_formdecode(request.url.query or "="); combined_key = params.key; else local auth_type, value = auth_header:match("^(%S+)%s(%S+)$");