From 75fc820a1da9d944557ddf7b2a3507b7c3dbcaab Mon Sep 17 00:00:00 2001 From: Benjamin Howarth Date: Fri, 18 Aug 2017 22:14:30 +0100 Subject: [PATCH] #143 added regex to replace double port ref Regex to capture and replace double-port inclusions with single ref. Will not affect standard port (80, 443) instances. --- wsgate/webroot/index-debug.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsgate/webroot/index-debug.html b/wsgate/webroot/index-debug.html index 7cf042c3..24f46794 100644 --- a/wsgate/webroot/index-debug.html +++ b/wsgate/webroot/index-debug.html @@ -127,7 +127,7 @@ function RDPStart(uri, title){ if(uri === undefined){ - uri = wsBase; + uri = wsBase.replace(/(\:\d+)(\:\d+)/gi, "$1"); } if(title === undefined){ title = "FreeRDP WebConnect: connected to " + $('rdphost').value.trim();