Skip to content

Commit

Permalink
[#25][IMP] Added sani for ioc_type
Browse files Browse the repository at this point in the history
  • Loading branch information
whikernel committed Jan 2, 2022
1 parent ef9024c commit eb60412
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source/app/static/assets/js/iris/case.ioc.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@ Table = $("#ioc_table").DataTable({
return data;
}
},
{ "data": "ioc_type" },
{ "data": "ioc_type",
"render": function (data, type, row, meta) {
if (type === 'display') {
data = sanitizeHTML(data);
}
return data;
}
},
{ "data": "ioc_description",
"render": function (data, type, row, meta) {
if (type === 'display') {
Expand Down

0 comments on commit eb60412

Please sign in to comment.