Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2001 02:56:47 -0700 (PDT)
From:      clee@serenivision.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/26566: man.cgi fails to retrieve manpages with '.'
Message-ID:  <200104140956.f3E9ulc79421@vision.osd.bsdi.com>

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

>Number:         26566
>Category:       misc
>Synopsis:       man.cgi fails to retrieve manpages with '.'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 14 03:00:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Chern Lee
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
BSDi
>Environment:

	

>Description:

&man.sectionname.page in docbook/sgml converts to a hyperlink to
http://www.freebsd.org/cgi/man.cgi?sectionname(page) in HTML.

If sectionname has a period in it, man.cgi fails to retrieve the
manpage.  Normal queries to man.cgi through man.cgi?query=sectionname
works fine with '.'s.

See the named.conf(5) link in http://www.freebsd.org/handbook/dns.html for
an example.

>How-To-Repeat:

Try to get:
http://www.freebsd.org/cgi/man.cgi?named.conf(5)

>Fix:

Checked out www/en/cgi/man.cgi to attempt to fix problem, only to find:
#!/usr/bin/perl -T
# Copyright (c) Wolfram Schneider, Berlin. Sep 1997.
#
# FreeBSD man script
#
# $FreeBSD: www/en/cgi/man.cgi,v 1.5 2000/12/28 13:26:48 wosch Exp $

require '/usr/local/www/bsddoc/bin/man.cgi';

Drats.
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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