Update websocketproxy.py
This commit is contained in:
parent
a02143ce85
commit
043df1f8b8
|
|
@ -185,6 +185,12 @@ Traffic Legend:
|
|||
|
||||
if result_pair is not None:
|
||||
return result_pair
|
||||
else:
|
||||
#agregado por Ricardo Valladares para aceptar: http://10.0.1.7:6080/vnc.html?path=?token=192.100.1.100:5900
|
||||
#asi como tambien: http://10.0.1.7:6080/vnc.html?path=?token=servidor
|
||||
if ":" in token:
|
||||
partes = token.split(":", 1)
|
||||
return partes[0].strip(), partes[1].strip()
|
||||
else:
|
||||
raise self.server.EClose("Token '%s' not found" % token)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue