From b7e043abad2d3ab7b6e60e6a6c16f6ff25caa0e0 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Fri, 9 Mar 2012 15:35:53 +0100 Subject: [PATCH] IPv6 support for LibVNCServer, part twopointone: properly surround IPv6 addresses with [] for noVNC URL. Some browsers omit the square brackets in document.location.hostname, so add them if missing. --- webclients/index.vnc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/webclients/index.vnc b/webclients/index.vnc index 8254a70..0a92bd4 100644 --- a/webclients/index.vnc +++ b/webclients/index.vnc @@ -22,7 +22,15 @@ If the above Java applet does not work, you can also try the new JavaScript-only