commit cbeddeac14342514b12f40026e90008b21e2c227
parent 7f442ca7e60ac57930e3ddca324dfc0eb5b3a600
Author: Luxferre <lux@ferre>
Date: Thu, 30 Mar 2023 09:33:02 +0300
a bit more improved telnet urls
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bopher-ng.sh b/bopher-ng.sh
@@ -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