Commit e4716995 authored by Medicean's avatar Medicean

(Fix: Modules/ShellManager) 修复 context menu category self-xss (thx @lixuesv)

parent b1b2125b
......@@ -4,6 +4,10 @@
## `v(2.1.10)`
### 数据管理
* 修复 context menu category self-xss
### 其它
* 优化插件加载, 加载异常的插件不会再影响到其它插件加载了
......
......@@ -252,7 +252,7 @@ class ContextMenu {
items.map((_) => {
ret.push({
text: _ === 'default' ?
LANG['category']['default'] : _,
LANG['category']['default'] : antSword.noxss(_),
icon: 'fa fa-folder-o',
disabled: category === _,
action: moveHandler.bind(null, _)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment