mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Merge remote-tracking branch 'origin/master' into 2.1
This commit is contained in:
7 files changed
+15
-30
No files matched your search
@@ -391,7 +391,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