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

Gavin Atkinson <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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;
 }
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.