Implemented torsocks link opening

This commit is contained in:
Luxferre
2024-10-16 13:14:17 +03:00
parent b44a60f485
commit f0cd4aadf6
+1 -13
View File
@@ -615,19 +615,7 @@ proc render_handler_gopher {prevurl rooturl path body textw} {
# now we have resource type, description, selector, host and port
# let's output it depending on the type and ignore unknown types
switch $rtype {
0 -
1 -
5 -
g -
I -
: -
; -
< -
d -
p -
s -
P -
X -
0 - 1 - 5 - g - I - : - ";" - < - d - p - s - P - X -
9 { # plain text, gophermap, binary, image, sound...
linkinsert $textw $prevurl $rooturl "$tscheme://$rhost:$rport/$rtype$rsel" $rdesc "" preformatter
}