forked from shaba/openuds
Fixed STOP "eating" on application stop
This commit is contained in:
parent
e1ccc62dab
commit
420b78d45d
@ -79,6 +79,9 @@ class TunnelTicket(Handler):
|
||||
# Take token from url
|
||||
token = self._args[2][:48]
|
||||
if not models.TunnelToken.validateToken(token):
|
||||
if self._args[1][:4] == 'stop':
|
||||
# "Eat" invalid stop requests, because Applications does not like them
|
||||
return {}
|
||||
logger.error('Invalid token %s from %s', token, self._request.ip)
|
||||
raise AccessDenied()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user