From owner-freebsd-bugs Sat Apr 14 3: 0:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 45CCA37B50E for ; Sat, 14 Apr 2001 03:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3EA02188244; Sat, 14 Apr 2001 03:00:02 -0700 (PDT) (envelope-from gnats) Received: from vision.osd.bsdi.com (vision.osd.bsdi.com [204.216.28.164]) by hub.freebsd.org (Postfix) with ESMTP id 09A2037B43E for ; Sat, 14 Apr 2001 02:57:57 -0700 (PDT) (envelope-from chern@vision.osd.bsdi.com) Received: (from chern@localhost) by vision.osd.bsdi.com (8.11.1/8.9.3) id f3E9ulc79421; Sat, 14 Apr 2001 02:56:47 -0700 (PDT) (envelope-from chern) Message-Id: <200104140956.f3E9ulc79421@vision.osd.bsdi.com> Date: Sat, 14 Apr 2001 02:56:47 -0700 (PDT) From: clee@serenivision.com Reply-To: chern@serenivision.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/26566: man.cgi fails to retrieve manpages with '.' Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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