Add irc:// to default URL schemes

This commit is contained in:
Simon Ser 2021-12-27 12:10:44 +01:00
parent 3f10ee87b1
commit 3f34ec7470
2 changed files with 3 additions and 1 deletions

View file

@ -2845,6 +2845,8 @@ config_load(struct config *conf, const char *conf_path,
L"file://",
L"gemini://",
L"gopher://",
L"irc://",
L"ircs://",
};
conf->url.protocols = xmalloc(
ALEN(url_protocols) * sizeof(conf->url.protocols[0]));

View file

@ -393,7 +393,7 @@ in this order:
recognized in URL mode. Note that only auto-detected URLs are
affected by this option. OSC-8 URLs are always enabled, regardless
of protocol. Default: _http, https, ftp, ftps, file, gemini,
gopher_.
gopher, irc, ircs_.
*uri-characters*
Set of characters allowed in auto-detected URLs. Any character not