diff options
author | kiko%async.com.br <> | 2004-01-15 03:07:32 +0100 |
---|---|---|
committer | kiko%async.com.br <> | 2004-01-15 03:07:32 +0100 |
commit | 3517d7fc40bf492a613c8438f42f810e9c6ebb97 (patch) | |
tree | f407104471fb0450a51c032f722108818a731095 | |
parent | 014efe4fb5acf4e77686004596f9f37131234cf9 (diff) | |
download | bugzilla-3517d7fc40bf492a613c8438f42f810e9c6ebb97.tar.gz bugzilla-3517d7fc40bf492a613c8438f42f810e9c6ebb97.tar.xz |
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 <smanux@lfjr.net>, r=kiko, a=justdave.
-rw-r--r-- | globals.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl index 174990634..b5f3b7e36 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 |