Bug 26143

Summary: cvsweb.cgi at www.FreeBSD.org produces bogus hyperlinks
Product: Documentation Reporter: Yar Tikhiy <yar>
Component: Books & ArticlesAssignee: Akinori MUSHA <knu>
Status: Closed FIXED    
Severity: Affects Only Me CC: doc
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Yar Tikhiy freebsd_committer freebsd_triage 2001-03-27 13:10:01 UTC
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
Comment 1 Clive Lin freebsd_committer freebsd_triage 2001-04-08 18:25:11 UTC
Responsible Changed
From-To: gnats-admin->knu

Missfiled PR, and cvsweb is knu's baby.
Comment 2 Akinori MUSHA freebsd_committer freebsd_triage 2001-04-08 18:32:19 UTC
State Changed
From-To: open->closed

This has already been fixed, thanks!