backups: fix in VM path dialog handling
This commit is contained in:
父節點
e70b159ee5
當前提交
b109f8ce7c
@ -210,7 +210,7 @@ def get_path_for_vm(vm, service_name):
|
||||
if len(untrusted_path) == 0:
|
||||
return None
|
||||
if path_re.match(untrusted_path):
|
||||
return untrusted_path
|
||||
return untrusted_path.strip()
|
||||
else:
|
||||
return None
|
||||
|
||||
|
載入中…
新增問題並參考
Block a user