Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2005 20:54:56 +0300
From:      Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@freebsd.org>
To:        freebsd-cvsweb@freebsd.org
Subject:   Re: Download file with Content type containing '+'
Message-ID:  <1125078896.16166.260.camel@localhost.localdomain>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <code>%s</code>', $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.




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