develooper Front page | perl.perl5.porters | Postings from December 2005

[perl #37607] CGI file upload file name parsing errors

From:
Steve Peters via RT
Date:
December 27, 2005 05:48
Subject:
[perl #37607] CGI file upload file name parsing errors
> [aspa - Fri Nov 04 04:33:48 2005]:
> 
> The following part in the patch breaks HTML forms with multiple file
> upload elements when
> there's one or more empty elements posted to the server:
> 
> if($header{'Content-Disposition'}=~/ filename=/ && !$filename) {
>           $filename = "noname.bin";
> }
> 

Could you please resend the patch as a diff -u (if your diff supports 
it) or as a diff -c.  It makes it much easier to see the changes.

Thanks.



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About