mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -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',
|
export: 'fa-download',
|
||||||
clearSearch: 'fa-times'
|
clearSearch: 'fa-times'
|
||||||
},
|
},
|
||||||
|
exportOptions: {
|
||||||
|
htmlContent: true,
|
||||||
|
},
|
||||||
|
|
||||||
exportTypes: ['csv', 'excel', 'doc', 'txt','json', 'xml', 'pdf'],
|
exportTypes: ['csv', 'excel', 'doc', 'txt','json', 'xml', 'pdf'],
|
||||||
onLoadSuccess: function () {
|
onLoadSuccess: function () {
|
||||||
$('[data-toggle="tooltip"]').tooltip(); // Needed to attach tooltips after ajax call
|
$('[data-toggle="tooltip"]').tooltip(); // Needed to attach tooltips after ajax call
|
||||||
|
|
Loading…
Reference in a new issue