1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2025-01-03 14:56:43 -05:00

Add gemini:// to redirection whitelist

This commit is contained in:
Frank Seifferth 2024-10-24 11:18:31 +02:00
parent 4e06fd96ba
commit c88585237d

View File

@ -117,6 +117,7 @@ void url_redirect(state *st)
if (sstrncmp(dest, "http://") != MATCH &&
sstrncmp(dest, "https://") != MATCH &&
sstrncmp(dest, "gemini://") != MATCH &&
sstrncmp(dest, "ftp://") != MATCH &&
sstrncmp(dest, "irc://") != MATCH &&
sstrncmp(dest, "mailto:") != MATCH)