Skip to content
Snippets Groups Projects
Commit 5e47e595 authored by echicken's avatar echicken
Browse files

Remove port portion of http_request.host when specifying telnet hostname.

parent 7f44a24a
Branches
Tags
No related merge requests found
......@@ -62,7 +62,7 @@ var ClientVars = {
SendOnConnect : "",
ServerName : "<?xjs write(system.name); ?>",
SocketPolicyPort : <?xjs write(fspPort); ?>,
TelnetHostName : "<?xjs write(http_request.host); ?>",
TelnetHostName : "<?xjs write(http_request.host.replace(/\:\d*/g, "")); ?>",
TelnetPort : <?xjs write(telnetPort); ?>,
VirtualKeyboardWidth : 1,
VT : 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment