svn commit: r45463 - head/en_US.ISO8859-1/htdocs/cgi

Gavin Atkinson gavin at FreeBSD.org
Sat Aug 16 21:07:10 UTC 2014


Author: gavin
Date: Sat Aug 16 21:07:09 2014
New Revision: 45463
URL: http://svnweb.freebsd.org/changeset/doc/45463

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

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi

Modified: head/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi	Sat Aug 16 20:47:00 2014	(r45462)
+++ head/en_US.ISO8859-1/htdocs/cgi/query-pr.cgi	Sat Aug 16 21:07:09 2014	(r45463)
@@ -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;
 }
 


More information about the svn-doc-all mailing list