forked from Proxmox/proxmox
api3/admin/datastore/upload_catar.rs: verify content type ("application/x-proxmox-backup-catar")
This commit is contained in:
parent
90e1d858e0
commit
6e219aefd3
@ -208,7 +208,7 @@ fn handle_upload_api_request(
|
||||
}
|
||||
};
|
||||
|
||||
match (info.handler)(req_body, params, info) {
|
||||
match (info.handler)(parts, req_body, params, info) {
|
||||
Ok(future) => future,
|
||||
Err(err) => {
|
||||
let resp = (formatter.format_result)(Err(Error::from(err)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user