From f0cd4aadf62ad64d020ad1c809ddf3372d60fdae Mon Sep 17 00:00:00 2001 From: Luxferre Date: Wed, 16 Oct 2024 13:14:17 +0300 Subject: [PATCH] Implemented torsocks link opening --- bfg.tcl | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/bfg.tcl b/bfg.tcl index 439ffd2..f9b296a 100755 --- a/bfg.tcl +++ b/bfg.tcl @@ -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 }