mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Merge pull request #10201 from snipe/fixes/xss_on_export
Fixes possible XSS on all-file-types export
This commit is contained in:
commit
f87ffb84d5
|
@ -75,6 +75,10 @@
|
|||
export: 'fa-download',
|
||||
clearSearch: 'fa-times'
|
||||
},
|
||||
exportOptions: {
|
||||
htmlContent: true,
|
||||
},
|
||||
|
||||
exportTypes: ['csv', 'excel', 'doc', 'txt','json', 'xml', 'pdf'],
|
||||
onLoadSuccess: function () {
|
||||
$('[data-toggle="tooltip"]').tooltip(); // Needed to attach tooltips after ajax call
|
||||
|
|
Loading…
Reference in a new issue