From 7dcc7ccff1ea1e16be799d440c1f6ef892679615 Mon Sep 17 00:00:00 2001 From: bptato Date: Wed, 2 Dec 2020 22:54:49 +0100 Subject: Add support for Gopher items 5 and I --- file.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'file.c') diff --git a/file.c b/file.c index 30a0308..329d375 100644 --- a/file.c +++ b/file.c @@ -1993,6 +1993,10 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer, case 'h': t = "text/html"; break; + case 'I': + t = "image/gopher"; + break; + case '5': case '9': do_download = 1; break; @@ -7473,6 +7477,9 @@ loadGopherDir0(URLFile *uf, ParsedURL *pu) case '1': p = "[directory]"; break; + case '5': + p = "[DOS binary]"; + break; case '7': p = "[search]"; break; @@ -7491,6 +7498,9 @@ loadGopherDir0(URLFile *uf, ParsedURL *pu) case 'i': link = 0; break; + case 'I': + p = "[image]"; + break; case '9': p = "[binary]"; break; -- cgit v1.2.3