Ensure args are checked against form body
Required for XML definitions but erroneously removed during file parsing reworking.
This commit is contained in:
parent
5d08ad9573
commit
d63e757c32
|
@ -169,7 +169,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'
|
location=['args','form']
|
||||||
)
|
)
|
||||||
reqargs = parser.parse_args()
|
reqargs = parser.parse_args()
|
||||||
kwargs['reqargs'] = reqargs
|
kwargs['reqargs'] = reqargs
|
||||||
|
|
Loading…
Reference in New Issue