clean data
This commit is contained in:
@@ -535,9 +535,6 @@ long WrenchRegisterMyFileUpload(CVars in, CVars &out) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
} catch (bad_parameter) {
|
||||
out["log_status"] = "Something went wrong";
|
||||
}
|
||||
|
||||
@@ -459,6 +459,7 @@ class WrenchApi extends BaseController
|
||||
$out = ( new \App\Models\UploadManager() )->reciveUpload($raw_array, $local_out);
|
||||
$call_backend = $out["call_backend"];
|
||||
$raw_array["message"] = $out["message"];
|
||||
$raw_array["file_data"] = $out['file_data'] = $in['file_data'] =""; // no need to carry raw file data anymore - saved or cached ath this point
|
||||
}
|
||||
if (isset($_FILES) && is_array($_FILES) && count($_FILES)>0) {
|
||||
$raw_array = array_merge($_POST,$_FILES);
|
||||
|
||||
Reference in New Issue
Block a user