浏览代码

backups: fix in VM path dialog handling

Marek Marczykowski-Górecki 10 年之前
父节点
当前提交
b109f8ce7c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      qubesmanager/backup_utils.py

+ 1 - 1
qubesmanager/backup_utils.py

@@ -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