forked from shaba/openuds
Merge remote-tracking branch 'origin/v3.5'
This commit is contained in:
commit
26f45b429f
@ -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()
|
||||
|
||||
|
@ -139,7 +139,7 @@ def getServicesData(
|
||||
'id': idd(i),
|
||||
'name': i.name,
|
||||
'link': html.udsAccessLink(request, 'M' + meta.uuid, idd(i)),
|
||||
'priority': 0,
|
||||
'priority': i.priority,
|
||||
}
|
||||
for i in transports
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user