From owner-freebsd-cvsweb@FreeBSD.ORG Fri Aug 26 17:54:59 2005 Return-Path: X-Original-To: freebsd-cvsweb@freebsd.org Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28A8B16A41F for ; Fri, 26 Aug 2005 17:54:59 +0000 (GMT) (envelope-from scop@freebsd.org) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCCFA43D49 for ; Fri, 26 Aug 2005 17:54:58 +0000 (GMT) (envelope-from scop@freebsd.org) Received: from [192.168.2.4] (cs168006.pp.htv.fi [213.243.168.6]) by smtp2.pp.htv.fi (Postfix) with ESMTP id 1BC44296BAD for ; Fri, 26 Aug 2005 20:54:57 +0300 (EEST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@freebsd.org In-Reply-To: <1456.217.136.71.24.1124649806.squirrel@217.136.71.24> References: <1456.217.136.71.24.1124649806.squirrel@217.136.71.24> Content-Type: text/plain Organization: FreeBSD Date: Fri, 26 Aug 2005 20:54:56 +0300 Message-Id: <1125078896.16166.260.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Subject: Re: Download file with Content type containing '+' X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2005 17:54:59 -0000 On Sun, 2005-08-21 at 20:43 +0200, charles.buysschaert@advalvas.be wrote: > if (defined($t)) { > ($input{'content-type'}) = ($t =~ m|^([-0-9A-Za-z]+/[-0-9A-Za-z\.]+)$|) > or fatal('500 Internal Error', > 'Unsupported content type: %s', $t); > } > > I could work around this by changing > [-0-9A-Za-z\.] into [+-0-9A-Za-z\.] > > Is there any reason why '+' wasn't included there? Yes, a bug ;). Fixed in CVS, thanks for the report.