Use absolute URL for query-pr.cgi CGI script so the link
will works for the cvsweb.cgi mirrors. PR: misc/12813
This commit is contained in:
parent
55694a9f54
commit
2857b98ed4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=5248
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@
|
|||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $Id: cvsweb.cgi,v 1.31 1999-06-01 15:23:51 billf Exp $
|
||||
# $Id: cvsweb.cgi,v 1.32 1999-07-26 21:41:06 wosch Exp $
|
||||
#
|
||||
|
||||
|
||||
|
|
@ -329,7 +329,7 @@ sub htmlify {
|
|||
$string =~ s/>/>/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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue