From yar@comp.chem.msu.su  Tue Mar 27 04:03:40 2001
Return-Path: <yar@comp.chem.msu.su>
Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.157])
	by hub.freebsd.org (Postfix) with ESMTP
	id 90B5337B71A; Tue, 27 Mar 2001 04:03:30 -0800 (PST)
	(envelope-from yar@comp.chem.msu.su)
Received: (from yar@localhost)
	by comp.chem.msu.su (8.11.1/8.11.1) id f2RC3LW27563;
	Tue, 27 Mar 2001 16:03:21 +0400 (MSD)
	(envelope-from yar)
Message-Id: <200103271203.f2RC3LW27563@comp.chem.msu.su>
Date: Tue, 27 Mar 2001 16:03:21 +0400 (MSD)
From: yar@freebsd.org
Reply-To: yar@freebsd.org
To: FreeBSD-gnats-submit@freebsd.org
Cc: www@freebsd.org
Subject: cvsweb.cgi at www.FreeBSD.org produces bogus hyperlinks
X-Send-Pr-Version: 3.2

>Number:         26143
>Category:       docs
>Synopsis:       cvsweb.cgi at www.FreeBSD.org produces bogus hyperlinks
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    knu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 27 04:10:01 PST 2001
>Closed-Date:    Mon Apr 9 02:32:19 JST 2001
>Last-Modified:  Mon Apr 09 02:32:50 JST 2001
>Originator:     Yar Tikhiy
>Release:        N/A
>Organization:
Moscow State University
>Environment:

Checked using Netscape Navigator 4.x, MSIE 5.5, w3m, links

>Description:

The cvsweb.cgi script is sophisticated enough to recognize bug
report IDs, man page references and e-mail addresses (maybe URLs,
too) in commit messages and to produce hrefs on them. However,
cvsweb.cgi outputs %3a instead of a literal semicolon in the hrefs,
which leads to the hrefs being misrecognized as relative.

It can be deduced from RFC 2396 that an URI delimiter
should not be escaped, or it will cease to be a delimiter and
become an integral part of an URI component.

>How-To-Repeat:

An example:

- Go to http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/if_ether.c
- Scroll the page down to the revision 1.76
- Move the pointer to the first man reference
- See the href being misrecognized as http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/netinet/http%3a//www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=1&query=sed&manpath=FreeBSD+5.0-current&format=html

>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->knu 
Responsible-Changed-By: clive 
Responsible-Changed-When: Sun Apr 8 10:25:11 PDT 2001 
Responsible-Changed-Why:  
Missfiled PR, and cvsweb is knu's baby. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=26143 
State-Changed-From-To: open->closed 
State-Changed-By: knu 
State-Changed-When: Mon Apr 9 02:32:19 JST 2001 
State-Changed-Why:  
This has already been fixed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=26143 
>Unformatted:
