diff --git a/lib/util/ktutil.inc b/lib/util/ktutil.inc index 90dab44..c3aa8c2 100644 --- a/lib/util/ktutil.inc +++ b/lib/util/ktutil.inc @@ -497,7 +497,9 @@ class KTUtil { $oUrl->port = 443; } } - $oUrl->host = $oKTConfig->get("KnowledgeTree/serverName"); + $host = $oKTConfig->get("KnowledgeTree/serverName"); + $host = explode(':', $host); + $oUrl->host = $host[0]; if(!is_array($qs)) { $aQs = $oUrl->_parseRawQuerystring($qs);