mirror of
https://gitee.com/openharmony/applications_dlp_manager
synced 2024-11-26 19:40:40 +00:00
update
Signed-off-by: 孟立 <mengli12@huawei.com>
This commit is contained in:
parent
cdf37e1220
commit
768db5ed5c
@ -433,7 +433,7 @@ function sendDlpFileOpenProperties() {
|
||||
}
|
||||
|
||||
function isValidPath(path: string): Boolean {
|
||||
if (path.indexOf('/./') !== -1 || path.indexOf('/../') !== -1) {
|
||||
if (path.indexOf('./') !== -1 || path.indexOf('../') !== -1) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user