From owner-freebsd-ports Sun Mar 28 15:17:27 1999 Delivered-To: freebsd-ports@freebsd.org Received: from baerenklau.de.freebsd.org (baerenklau.de.freebsd.org [195.185.195.14]) by hub.freebsd.org (Postfix) with ESMTP id 644DF156FB for ; Sun, 28 Mar 1999 15:16:40 -0800 (PST) (envelope-from w@panke.de.freebsd.org) Received: (from uucp@localhost) by baerenklau.de.freebsd.org (8.8.8/8.8.8) with UUCP id BAA19336; Mon, 29 Mar 1999 01:14:39 +0200 (CEST) (envelope-from w@panke.de.freebsd.org) Received: (from w@localhost) by paula.panke.de.freebsd.org (8.9.3/8.8.8) id AAA01249; Mon, 29 Mar 1999 00:22:25 +0200 (CEST) (envelope-from w) Message-ID: <19990329002225.49572@panke.de.freebsd.org> Date: Mon, 29 Mar 1999 00:22:25 +0200 From: Wolfram Schneider To: Chuck Robey , Rich Morin Cc: ports@FreeBSD.ORG Subject: Re: Ports Collection nits References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: ; from Chuck Robey on Sat, Mar 20, 1999 at 08:26:34PM -0500 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 1999-03-20 20:26:34 -0500, Chuck Robey wrote: > > The snapshot I discuss below was downloaded from ftp.cdrom.com on > > 19990318. If you want a copy of the (rather primitive :-) script I > > am using to check things out, let me know... > > > > * Quite a few of the path names from the second and fourth fields of > > the INDEX file (e.g., .../print/c2ps-a4/../c2ps-letter/pkg/DESCR) > > contain the string "../". This seems unnecessarily convoluted. Is > > there a functional reason for this or is it just an artifact (e.g., > > of a moved directory or a spin-off package)? > > This is because those paths are often assembled piece by piece from > parts, and one of those parts has ".." in it in a context where it does > make sense. The ".." doesn't cause any harm, so no one is terribly > interested in fixing it (seeing as making a fix may well break something > that uses one of the constituent path parts). Uh, '../' are evil for cgi scripts arguments ;-{ It makes the security checks complicated. I hope I fixed the '..' in http://www.freebsd.org/cgi/ports.cgi and the other ports cgi scripts (pds.cgi, url.cgi). -- Wolfram Schneider http://wolfram.schneider.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message