mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 03:08:14 +00:00
parent
d60597ca0d
commit
1d5029e4e2
@ -49,7 +49,7 @@ class SymbolHandler:
|
||||
controller = Controller.instance()
|
||||
try:
|
||||
yield from response.file(controller.symbols.get_path(request.match_info["symbol_id"]))
|
||||
except (KeyError, FileNotFoundError):
|
||||
except (KeyError, FileNotFoundError, PermissionError):
|
||||
response.set_status(404)
|
||||
|
||||
@Route.post(
|
||||
|
Loading…
Reference in New Issue
Block a user