Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2001 16:03:21 +0400 (MSD)
From:      yar@freebsd.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        www@freebsd.org
Subject:   cvsweb.cgi at www.FreeBSD.org produces bogus hyperlinks
Message-ID:  <200103271203.f2RC3LW27563@comp.chem.msu.su>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:   current-users
>Originator:     Yar Tikhiy
>Organization:   Moscow State University
>Confidential:   no 
>Synopsis:       cvsweb.cgi at www.FreeBSD.org produces bogus hyperlinks
>Severity:       non-critical 
>Priority:       medium 
>Category:       misc <[ advocacy | alpha | bin | conf | docs | gnu | i386 | kern | misc | ports | sparc ]>
>Release:        N/A
>Class:          sw-bug 
>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: 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-www" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103271203.f2RC3LW27563>