Revert "Ensure args are checked against form body"

This reverts commit d63e757c32.

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.
This commit is contained in:
Joshua Boniface 2020-11-09 09:59:33 -05:00
parent ee4d682b29
commit b169620eee
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class RequestParser(object):
action=reqarg.get('action', None), action=reqarg.get('action', None),
choices=reqarg.get('choices', ()), choices=reqarg.get('choices', ()),
help=reqarg.get('helptext', None), help=reqarg.get('helptext', None),
location=['args', 'form'] location=['args']
) )
reqargs = parser.parse_args() reqargs = parser.parse_args()
kwargs['reqargs'] = reqargs kwargs['reqargs'] = reqargs