Skip to content

Commit 5b66795

Browse files
author
Anders Breid
authored
Protect notificatio meta from XSS (#285)
1 parent 90fc0e6 commit 5b66795

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/resources/static/js/subscriptions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ jQuery(document).ready(function () {
373373
"targets": [6],
374374
"orderable": true,
375375
"title": "NotificationMeta",
376-
"data": "notificationMeta"
376+
"data": "notificationMeta",
377+
"render": $.fn.dataTable.render.text()
377378
},
378379
{
379380
"targets": [7],

0 commit comments

Comments
 (0)