mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 20:49:01 -04:00
Multipart forms are now also validated via params
This commit is contained in:
parent
79aea48757
commit
10aa4a28fe
@ -889,7 +889,8 @@ http_validate_params(struct http_request *req, struct kore_module_handle *hdlr)
|
||||
struct kore_handler_params *p;
|
||||
struct http_arg *q, *next;
|
||||
|
||||
http_populate_arguments(req);
|
||||
if (!http_populate_multipart_form(req, &r))
|
||||
http_populate_arguments(req);
|
||||
|
||||
for (q = TAILQ_FIRST(&(req->arguments)); q != NULL; q = next) {
|
||||
next = TAILQ_NEXT(q, list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user