ircs URLs work fine in Firefox at least

This commit is contained in:
Mikael Nordfeldth 2015-12-05 13:02:49 +01:00
parent 831e9db7ec
commit c498db147a

View File

@ -877,7 +877,7 @@ function common_replace_urls_callback($text, $callback, $arg = null) {
'(?:'. '(?:'.
'(?:'. //Known protocols '(?:'. //Known protocols
'(?:'. '(?:'.
'(?:(?:https?|ftps?|mms|rtsp|gopher|news|nntp|telnet|wais|file|prospero|webcal|irc)://)'. '(?:(?:https?|ftps?|mms|rtsp|gopher|news|nntp|telnet|wais|file|prospero|webcal|ircs?)://)'.
'|'. '|'.
'(?:(?:mailto|aim|tel|xmpp):)'. '(?:(?:mailto|aim|tel|xmpp):)'.
')'. ')'.