In query-pr.cgi, stop linking to cvsweb.cgi as it no longer exists.

This commit is contained in:
Gavin Atkinson 2014-08-16 21:07:09 +00:00
parent 52c494c9fd
commit fc37cb633c
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45463

View file

@ -69,7 +69,6 @@ use constant EXIT_NOPATCH => 3;
our $valid_category = '[a-z0-9][A-Za-z0-9-_]{1,25}';
our $valid_pr = '\d{1,8}';
our $cvsweb_url = 'http://www.FreeBSD.org/cgi/cvsweb.cgi/';
our $stylesheet = "$main::hsty_base/layout/css/query-pr.css";
our $iscgi = defined $ENV{'SCRIPT_NAME'};
@ -609,10 +608,6 @@ sub Linkify
$html =~
s/((?:https?|ftps?):\/\/[^\s\/]+\/[][\w=.,\'\(\)\~\?\!\&\/\%\$\{\}:;@#+-]*)/<a href="$1">$1<\/a>/g;
# CVS files
$html =~
s/^RCS file: (\/home\/[A-Za-z0-9]+\/(.*?)),v$/RCS file: <a href="$cvsweb_url$2">$1<\/a>,v/mg;
return $html;
}