From 06a8f7d91a1555f9309791b6cda662cbb4539aa6 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 23 Dec 2019 09:35:51 +0100 Subject: [PATCH] Use undefined as the default value for password An empty password is techincally legal, and now supported by the RFB core, so we cannot use that as a placeholder for "no password". --- vnc_lite.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnc_lite.html b/vnc_lite.html index e0267716..98dd28f2 100644 --- a/vnc_lite.html +++ b/vnc_lite.html @@ -140,7 +140,7 @@ // By default, use the host and port of server that served this file const host = readQueryVariable('host', window.location.hostname); let port = readQueryVariable('port', window.location.port); - const password = readQueryVariable('password', ''); + const password = readQueryVariable('password'); const path = readQueryVariable('path', 'websockify'); // | | | | | |