mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixes possible XSS on all-file-types export
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
5d94b99035
commit
bda23bb1e6
|
@ -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