From 9e7276cd4aad71817ea2c815fe544b4e46eef66d Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Sun, 26 Oct 2003 13:26:41 +0000 Subject: Bug 218386: add 'view-source:' to the link of URL protocols which automatcalyy get hyperlinked in comments. r= timeless, a= justdave --- globals.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'globals.pl') diff --git a/globals.pl b/globals.pl index a22cef196..14568a60e 100644 --- a/globals.pl +++ b/globals.pl @@ -887,7 +887,7 @@ sub quoteUrls { my $tmp; # non-mailto protocols - my $protocol_re = qr/(afs|cid|ftp|gopher|http|https|mid|news|nntp|prospero|telnet|wais)/i; + my $protocol_re = qr/(afs|cid|ftp|gopher|http|https|mid|news|nntp|prospero|telnet|view-source|wais)/i; $text =~ s~\b(${protocol_re}: # The protocol: [^\s<>\"]+ # Any non-whitespace -- cgit v1.2.3-24-g4f1b