From b169620eee1f279cc41ebd498e3709b4f3492619 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 9 Nov 2020 09:59:33 -0500 Subject: [PATCH] Revert "Ensure args are checked against form body" This reverts commit d63e757c32e120dfd4841290cfdb0191fb591083. This did not work; by readding 'form' checking, the attempt to isolate the large file upload was again thwarted. Another solution, perhaps specific to the uploads, is needed instead. --- api-daemon/pvcapid/flaskapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/flaskapi.py b/api-daemon/pvcapid/flaskapi.py index 41df23de..6d617027 100755 --- a/api-daemon/pvcapid/flaskapi.py +++ b/api-daemon/pvcapid/flaskapi.py @@ -163,7 +163,7 @@ class RequestParser(object): action=reqarg.get('action', None), choices=reqarg.get('choices', ()), help=reqarg.get('helptext', None), - location=['args', 'form'] + location=['args'] ) reqargs = parser.parse_args() kwargs['reqargs'] = reqargs