a bit more improved telnet urls

This commit is contained in:
Luxferre
2023-03-30 09:33:02 +03:00
parent 7f442ca7e6
commit cbeddeac14
+1 -1
View File
@@ -109,7 +109,7 @@ gmparse() { # args: line, curhost, curport
if [[ '8' == "$rtype" ]]; then # handle 8-type resources as telnet:// URIs
local username="${sel}@"
[[ -z "${sel}" ]] && username=''
desc="$desc: telnet://${username}${rhost}:${rport}/"
desc="$desc: telnet://${username}${rhost}:${rport}"
fi
fi
[[ '0' == "$rtype" ]] && action='P' # plain text is plain text