Skip to content
Snippets Groups Projects
Commit 487cab5c authored by rswindell's avatar rswindell
Browse files

Bug-fix for "additional services" links on web servers running on non-standard

ports.
parent 14feee55
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,9 @@ load("../web/lib/leftnav_html.ssjs");
host = http_request.host;
if(host==undefined || !host.length)
host = system.host_name;
var port = host.indexOf(':');
if(port>=0)
host=host.slice(0,port);
if(telnet_port=="23")
telnet_port="";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment