From c5700f1ba301729c802cd5b400f8320a7b19e902 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 15 Nov 2021 18:31:56 +0100 Subject: [PATCH] Fix issue with accented chars in form .. decode() is not needed anymore? --- moulinette/interfaces/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moulinette/interfaces/api.py b/moulinette/interfaces/api.py index 1a60e44f..7be0c3b4 100644 --- a/moulinette/interfaces/api.py +++ b/moulinette/interfaces/api.py @@ -358,7 +358,7 @@ class _ActionsMapPlugin(object): params[a] = True # 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 req_params += list(request.files.dict.items()) for k, v in req_params: