mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
This commit is contained in:
1 parent
6730cfe823
commit
ea9f0e52c8
2 files changed
+10
-1
No files matched your search
@@ -396,7 +396,7 @@ class ProjectHandler:
|
||||
controller = Controller.instance()
|
||||
project = yield from controller.get_loaded_project(request.match_info["project_id"])
|
||||
path = request.match_info["path"]
|
||||
path = os.path.normpath(path)
|
||||
path = os.path.normpath(path).strip('/')
|
||||
|
||||
# Raise error if user try to escape
|
||||
if path[0] == ".":
|
||||
|
||||
Reference in new issue
Block a user