Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
antSword
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HuangJunbo
antSword
Commits
e4716995
Commit
e4716995
authored
Feb 04, 2021
by
Medicean
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fix: Modules/ShellManager) 修复 context menu category self-xss (thx @lixuesv)
parent
b1b2125b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG.md
CHANGELOG.md
+4
-0
contextmenu.js
source/modules/shellmanager/list/contextmenu.js
+1
-1
No files found.
CHANGELOG.md
View file @
e4716995
...
...
@@ -4,6 +4,10 @@
## `v(2.1.10)`
### 数据管理
*
修复 context menu category self-xss
### 其它
*
优化插件加载, 加载异常的插件不会再影响到其它插件加载了
...
...
source/modules/shellmanager/list/contextmenu.js
View file @
e4716995
...
...
@@ -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
,
_
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment