summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-03-01 21:55:08 +1100
committerPatrick <tingping@tingping.se>2021-03-07 11:59:04 -0500
commitcc049161378988fdb468cab1a9c00dc28b835b1f (patch)
treea97be4a47c9b10368760f4c850a70969142bc607 /src
parent964ae72fa8c770ae45c995fbdc38cae4c7ece5a3 (diff)
url.c: add gemini & gopher parsing
Diffstat (limited to 'src')
-rw-r--r--src/common/url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/url.c b/src/common/url.c
index a741fb04..6a1d09e8 100644
--- a/src/common/url.c
+++ b/src/common/url.c
@@ -518,6 +518,8 @@ struct
 	{ "pop",       "/", URI_AUTHORITY | URI_OPT_USERINFO | URI_PATH },
 	{ "nfs",       "/", URI_AUTHORITY | URI_OPT_USERINFO | URI_PATH },
 	{ "smb",       "/", URI_AUTHORITY | URI_OPT_USERINFO | URI_PATH },
+	{ "gopher",    "/", URI_AUTHORITY | URI_PATH },
+	{ "gemini",    "/", URI_AUTHORITY | URI_PATH },
 	{ "ssh",       "",  URI_AUTHORITY | URI_OPT_USERINFO },
 	{ "sip",       "",  URI_AUTHORITY | URI_USERINFO },
 	{ "sips",      "",  URI_AUTHORITY | URI_USERINFO },