From: kiko%async.com.br <> Date: Thu, 15 Jan 2004 02:07:32 +0000 (+0000) Subject: Fix for bug 194290: irc:// links are not highlighted as links. Adds irc X-Git-Tag: bugzilla-2.17.7~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3517d7fc40bf492a613c8438f42f810e9c6ebb97;p=thirdparty%2Fbugzilla.git Fix for bug 194290: irc:// links are not highlighted as links. Adds irc to the list of supported protocols in quoteUrls(). Patch by Emmanuel Bourg , r=kiko, a=justdave. --- diff --git a/globals.pl b/globals.pl index 1749906347..b5f3b7e36d 100644 --- a/globals.pl +++ b/globals.pl @@ -888,7 +888,7 @@ sub quoteUrls { my $tmp; # non-mailto protocols - my $protocol_re = qr/(afs|cid|ftp|gopher|http|https|mid|news|nntp|prospero|telnet|view-source|wais)/i; + my $protocol_re = qr/(afs|cid|ftp|gopher|http|https|irc|mid|news|nntp|prospero|telnet|view-source|wais)/i; $text =~ s~\b(${protocol_re}: # The protocol: [^\s<>\"]+ # Any non-whitespace