Skip to content

Commit 002dc75

Browse files
committed
fix xss for tasks index
1 parent fe842ea commit 002dc75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/TasksController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function anyData()
8282
})
8383
->addColumn('view', function ($tasks) {
8484
return '<a href="' . route("tasks.show", $tasks->external_id) . '" class="btn btn-link">' . __('View') .'</a>'
85-
. '<a data-toggle="modal" data-id="'. route('tasks.destroy',$tasks->external_id) . '" data-title="'. $tasks->title . '" data-target="#deletion" class="btn btn-link">' . __('Delete') .'</a>'
85+
. '<a data-toggle="modal" data-id="'. route('tasks.destroy',$tasks->external_id) . '" data-target="#deletion" class="btn btn-link">' . __('Delete') .'</a>'
8686
;
8787
})
8888
->rawColumns(['titlelink','view', 'status_id'])

0 commit comments

Comments
 (0)