summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2003-10-26 14:26:41 +0100
committerjustdave%syndicomm.com <>2003-10-26 14:26:41 +0100
commit9e7276cd4aad71817ea2c815fe544b4e46eef66d (patch)
treef0a303fc1784d5415543a33615cff512da07156f
parent68774da9a61107cfbbc16a91421a99c1ac944df1 (diff)
downloadbugzilla-9e7276cd4aad71817ea2c815fe544b4e46eef66d.tar.gz
bugzilla-9e7276cd4aad71817ea2c815fe544b4e46eef66d.tar.xz
Bug 218386: add 'view-source:' to the link of URL protocols which automatcalyy get hyperlinked in comments.
r= timeless, a= justdave
-rw-r--r--globals.pl2
1 files changed, 1 insertions, 1 deletions
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