mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-03 19:09:41 +00:00
Reset client_settings on connect.
- Otherwise client_setting carry over from other connections.
This commit is contained in:
@@ -81,6 +81,7 @@ def do_handshake(sock):
|
||||
|
||||
# Parse settings from the path
|
||||
cvars = path.partition('?')[2].partition('#')[0].split('&')
|
||||
client_settings = {}
|
||||
for cvar in [c for c in cvars if c]:
|
||||
name, _, value = cvar.partition('=')
|
||||
client_settings[name] = value and value or True
|
||||
|
||||
Reference in New Issue
Block a user