From: justdave%syndicomm.com <> Date: Sun, 26 Oct 2003 13:26:41 +0000 (+0000) Subject: Bug 218386: add 'view-source:' to the link of URL protocols which automatcalyy get... X-Git-Tag: bugzilla-2.17.5~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e7276cd4aad71817ea2c815fe544b4e46eef66d;p=thirdparty%2Fbugzilla.git Bug 218386: add 'view-source:' to the link of URL protocols which automatcalyy get hyperlinked in comments. r= timeless, a= justdave --- diff --git a/globals.pl b/globals.pl index a22cef1967..14568a60e0 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