Add CSRF check for task and project files upload
This commit is contained in:
@@ -51,6 +51,7 @@ class TaskFileController extends BaseController
|
||||
*/
|
||||
public function save()
|
||||
{
|
||||
$this->checkReusableCSRFParam();
|
||||
$task = $this->getTask();
|
||||
$result = $this->taskFileModel->uploadFiles($task['id'], $this->request->getFileInfo('files'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user