Bug 12813

Summary: cvsweb interface for .de contains links to PR interface at .de
Product: Base System Reporter: nick.hibma <nick.hibma>
Component: miscAssignee: Wolfram Schneider <wosch>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   

Description nick.hibma 1999-07-26 09:10:00 UTC
On the page

http://www.de.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/isa/clock.c

rev.1.140 contains a link to PR 10455. But this link is to the PR database on
www.de.freebsd.org which does not exist. These PR links should be explicit
to www.freebsd.org.

http://www.de.freebsd.org/cgi/query-pr.cgi?pr=10455

should be

http://www.freebsd.org/cgi/query-pr.cgi?pr=10455

How-To-Repeat: 

Go to page
http://www.de.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/isa/clock.c

and click on 'PR:             10455'

Fix: 

Make the link to PR's in the cvsweb.cgi script explicitly refer to
www.freebsd.org
Comment 1 chris 1999-07-26 12:50:58 UTC
On Mon, Jul 26, 1999, Nick Hibma wrote:
> >Fix:
> 	
> Make the link to PR's in the cvsweb.cgi script explicitly refer to
> www.freebsd.org

   Got it.  Here's a patch!

Index: cvsweb.cgi
===================================================================
RCS file: /home/ncvs/www/en/cgi/cvsweb.cgi,v
retrieving revision 1.31
diff -u -r1.31 cvsweb.cgi
--- cvsweb.cgi	1999/06/01 15:23:51	1.31
+++ cvsweb.cgi	1999/07/26 11:49:26
@@ -329,7 +329,7 @@
 	$string =~ s/>/&gt;/g;
 
 	if ($pr) {
-		$string =~ s!\b((pr[:#]?\s*#?)|((bin|conf|docs|gnu|i386|kern|misc|ports)\/))(\d+)\b!<A HREF=/cgi/query-pr.cgi?pr=\5>$&</A>!ig;
+		$string =~ s!\b((pr[:#]?\s*#?)|((bin|conf|docs|gnu|i386|kern|misc|ports)\/))(\d+)\b!<A HREF=http://www.freebsd.org/cgi/query-pr.cgi?pr=\5>$&</A>!ig;
 	}
 
 	$string;

> 
> 
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-bugs" in the body of the message

-- 
|Chris Costello <chris@calldei.com>
|Satisfaction Guaranteed: We'll send you another copy if it fails.
`-----------------------------------------------------------------
Comment 2 Nick Hibma freebsd_committer freebsd_triage 1999-07-26 12:52:10 UTC
Responsible Changed
From-To: freebsd-bugs->wosch

wosch is webmaster 

Comment 3 Wolfram Schneider freebsd_committer freebsd_triage 1999-07-26 22:41:31 UTC
State Changed
From-To: open->closed

fixed in rev 1.32 en/cgi/cvsweb.cgi