]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 218386: add 'view-source:' to the link of URL protocols which automatcalyy get...
authorjustdave%syndicomm.com <>
Sun, 26 Oct 2003 13:26:41 +0000 (13:26 +0000)
committerjustdave%syndicomm.com <>
Sun, 26 Oct 2003 13:26:41 +0000 (13:26 +0000)
r= timeless, a= justdave

globals.pl

index a22cef1967ce39af5df007cacef5bed3c24cc553..14568a60e084abfa586cebb3f8f140573574736b 100644 (file)
@@ -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