fix another xss vuln
This commit is contained in:
parent
e24ed24ee5
commit
38779d2576
1 changed files with 4 additions and 1 deletions
|
@ -122,7 +122,10 @@ oml.ui.importExportDialog = function(selected) {
|
|||
lists.length ? [{}] : []
|
||||
).concat(
|
||||
lists.map(function(list) {
|
||||
return {id: list.name, title: list.name};
|
||||
return {
|
||||
id: Ox.encodeHTMLEntities(list.name),
|
||||
title: Ox.encodeHTMLEntities(list.name)
|
||||
};
|
||||
})
|
||||
).concat(selected == 'import' ? [
|
||||
{},
|
||||
|
|
Loading…
Reference in a new issue