Download file with Content type containing '+'
    Ville Skyttä 
    scop at freebsd.org
       
    Fri Aug 26 17:54:59 GMT 2005
    
    
  
On Sun, 2005-08-21 at 20:43 +0200, charles.buysschaert at 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.
    
    
More information about the freebsd-cvsweb
mailing list