diff --git a/dashboard-ui/thirdparty/apiclient/connectionmanager.js b/dashboard-ui/thirdparty/apiclient/connectionmanager.js index bd17e7003b..120b6237e3 100644 --- a/dashboard-ui/thirdparty/apiclient/connectionmanager.js +++ b/dashboard-ui/thirdparty/apiclient/connectionmanager.js @@ -964,6 +964,9 @@ function normalizeAddress(address) { + // attempt to correct bad input + address = address.trim(); + if (address.toLowerCase().indexOf('http') != 0) { address = "http://" + address; }