mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -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',
|
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