src/server/rest.rs: correctly verify json parameters

This commit is contained in:
Dietmar Maurer 2019-05-24 09:10:59 +02:00
parent eb2bdd1bcc
commit 34114e2606
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ fn get_request_parameters_async(
params[&k] = parse_simple_value(&v, prop_schema)?;
}
}
verify_json_object(&params, obj_schema)?;
return Ok(params);
}