Merge pull request #277 from YunoHost/fix-request-params-not-decoded

[fix] Request params not decoded
This commit is contained in:
Alexandre Aubin 2021-05-25 18:58:36 +02:00 committed by GitHub
commit 9e907a5743
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -320,7 +320,7 @@ class _ActionsMapPlugin(object):
for a in args:
params[a] = True
# Append other request params
for k, v in request.params.dict.items():
for k, v in dict(request.params.decode()).items():
v = _format(v)
if k not in params.keys():
params[k] = v