From owner-freebsd-current@FreeBSD.ORG Fri Dec 30 02:16:07 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8ABC316A41F for ; Fri, 30 Dec 2005 02:16:07 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (p72-0-224-2.acedsl.com [72.0.224.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2801F43D5A for ; Fri, 30 Dec 2005 02:16:05 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.13.4/8.13.4) with ESMTP id jBU2G33t028091; Thu, 29 Dec 2005 21:16:03 -0500 (EST) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.13.4/8.13.3/Submit) id jBU2G2Bt028090; Thu, 29 Dec 2005 21:16:02 -0500 (EST) (envelope-from barney) Date: Thu, 29 Dec 2005 21:16:02 -0500 From: Barney Wolff To: Martin Cracauer Message-ID: <20051230021602.GA9026@pit.databus.com> References: <20051229193328.A13367@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051229193328.A13367@cons.org> User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org Subject: Re: fetch extension - use local filename from content-disposition header X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 02:16:07 -0000 On Thu, Dec 29, 2005 at 07:33:38PM -0500, Martin Cracauer wrote: > I'm a bit rusty, so please point me to style mistakes in the appended > diff. > > The following diff implements a "-O" option to fetch(1), which, when > set, will make fetch use a local filename supplied by the server in a > Content-Disposition header. Have you considered the security implications of this option? -- Barney Wolff http://www.databus.com/bwresume.pdf I never met a computer I didn't like.