Fix issue with accented chars in form .. decode() is not needed anymore?

This commit is contained in:
Alexandre Aubin 2021-11-15 18:31:56 +01:00
parent c5f577c04f
commit c5700f1ba3

View file

@ -358,7 +358,7 @@ class _ActionsMapPlugin(object):
params[a] = True params[a] = True
# Append other request params # Append other request params
req_params = list(request.params.decode().dict.items()) req_params = list(request.params.dict.items())
# TODO test special chars in filename # TODO test special chars in filename
req_params += list(request.files.dict.items()) req_params += list(request.files.dict.items())
for k, v in req_params: for k, v in req_params: