Skip to content

Commit

Permalink
(Fix: FileManager) fix #150
Browse files Browse the repository at this point in the history
  • Loading branch information
Medicean committed Apr 17, 2019
1 parent 39bb4fe commit 94f56fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# 更新日志
> 有空会补补BUG、添添新功能。
> 同时也欢迎大家的参与!感谢各位朋友的支持! .TAT.
## `v(2.0.7.2)`

* Fix #150 文件路径输入框未过滤问题
* 修复目录树双击时引起console下报错问题
* 修正 aslistcmd 二次转义问题

## `v(2.0.7.1)`

Expand Down
1 change: 1 addition & 0 deletions source/app.entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const antSword = window.antSword = {
noxss: (html = '', wrap = true) => {
let _html = String(html)
.replace(/&/g, "&")
.replace(/'/g, "'")
.replace(/>/g, ">")
.replace(/</g, "&lt;")
.replace(/"/g, "&quot;");
Expand Down
2 changes: 1 addition & 1 deletion source/modules/filemanager/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class Files {
options: bookmark_opts
},
{ type: 'separator' },
{ id: 'path', width: 300, type: 'buttonInput', value: manager.path || 'loading..' },
{ id: 'path', width: 300, type: 'buttonInput', value: antSword.noxss(manager.path) || 'loading..' },
{ id: 'read_path', type: 'button', icon: 'arrow-right', text: LANG['toolbar']['read'] },
{ type: 'separator' }
]);
Expand Down

0 comments on commit 94f56fc

Please sign in to comment.