From c498db147aaa427de9b1eb4ceef33e09c3b01596 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 5 Dec 2015 13:02:49 +0100 Subject: [PATCH] ircs URLs work fine in Firefox at least --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index f58e8cd112..c6005718d6 100644 --- a/lib/util.php +++ b/lib/util.php @@ -877,7 +877,7 @@ function common_replace_urls_callback($text, $callback, $arg = null) { '(?:'. '(?:'. //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):)'. ')'. -- 2.39.5