Controll of the project directory in the controller

This commit is contained in:
Julien Duponchelle committed 2016-04-26 14:34:49 +02:00
1 parent 893b05d26b
commit 9a1eeb57e9
4 files changed
+77 -13

No files matched your search

-3
View File
@@ -127,9 +127,6 @@ class Project:
if path != self._path and self.is_local() is False:
raise aiohttp.web.HTTPForbidden(text="You are not allowed to modify the project directory path")
if '"' in path:
raise aiohttp.web.HTTPForbidden(text="You are not allowed to use \" in the project directory path. It's not supported by Dynamips.")
self._path = path
self._update_temporary_file()