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:
parent
4e06fd96ba
commit
c88585237d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user