From nick.hibma@jrc.it Mon Jul 26 01:00:30 1999
Return-Path: <nick.hibma@jrc.it>
Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65])
	by hub.freebsd.org (Postfix) with ESMTP id 715FF14CE5
	for <freebsd-gnats-submit@freebsd.org>; Mon, 26 Jul 1999 01:00:26 -0700 (PDT)
	(envelope-from nick.hibma@jrc.it)
Received: from elpc36.jrc.it (elpc36.jrc.it [139.191.71.36])
	by mrelay.jrc.it (LMC5692) with ESMTP id JAA21052
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Jul 1999 09:59:49 +0200 (MET DST)
Received: (from n_hibma@localhost)
	by elpc36.jrc.it (8.9.3/8.8.7) id JAA40817;
	Mon, 26 Jul 1999 09:59:33 +0200 (CEST)
	(envelope-from n_hibma)
Message-Id: <199907260759.JAA40817@elpc36.jrc.it>
Date: Mon, 26 Jul 1999 09:59:33 +0200 (CEST)
From: Nick Hibma <nick.hibma@jrc.it>
Reply-To: nick.hibma@jrc.it
To: FreeBSD-gnats-submit@freebsd.org
Subject: cvsweb interface for .de contains links to PR interface at .de
X-Send-Pr-Version: 3.2

>Number:         12813
>Category:       misc
>Synopsis:       cvsweb interface for .de contains links to PR interface at .de
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wosch
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 26 01:10:00 PDT 1999
>Closed-Date:    Mon Jul 26 14:41:31 PDT 1999
>Last-Modified:  Mon Jul 26 14:42:50 PDT 1999
>Originator:     Nick Hibma
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Joint Research Centre
>Environment:


>Description:

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'

>How-To-Repeat:
>Fix:
	
Make the link to PR's in the cvsweb.cgi script explicitly refer to
www.freebsd.org


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->wosch 
Responsible-Changed-By: n_hibma 
Responsible-Changed-When: Mon Jul 26 04:52:10 PDT 1999 
Responsible-Changed-Why:  
wosch is webmaster 

From: Chris Costello <chris@calldei.com>
To: Nick Hibma <nick.hibma@jrc.it>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: misc/12813: cvsweb interface for .de contains links to PR interface at .de
Date: Mon, 26 Jul 1999 06:50:58 -0500

 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.
 `-----------------------------------------------------------------
 
State-Changed-From-To: open->closed 
State-Changed-By: wosch 
State-Changed-When: Mon Jul 26 14:41:31 PDT 1999 
State-Changed-Why:  
fixed in rev 1.32 en/cgi/cvsweb.cgi 
>Unformatted:
