Skip Menu |

This queue is for tickets about the CGI-Upload CPAN distribution.

Report information
The Basics
Id: 17708
Status: new
Priority: 0/
Queue: CGI-Upload

Owner: Nobody in particular
Requestors: brown [...]

Bug Information
Severity: Critical
Broken in: 1.10
Fixed in: (no value)


Subject: Fails to handle multiple files
Download (untitled) / with headers
text/plain 365b
System Info: CentOS3 server, fully updated Perl: 5.8.5 from CentOS3 RPMs CGI::Upload version 1.10 CGI::Upload returns incorrect information when used with more than one uploaded file. The cache check is not looking to see if a particular upload field exists in the cache, just that the cache itself exists. See attached file for patch verified to fix this bug.
Subject: CGI-Upload-cache-patch.txt
--- 2004-06-16 00:19:27.000000000 -0400 +++ 2006-02-17 13:56:36.000000000 -0500 @@ -43,7 +43,7 @@ # returns a hash of all information determined about the uploaded file # which is be cached for subsequent requests. - $self->{'_CACHE'}->{$param} = $self->_handle_file( $param ) unless exists $self->{'_CACHE'}; + $self->{'_CACHE'}->{$param} = $self->_handle_file( $param ) unless exists $self->{'_CACHE'}->{$param}; # Return the requested property of the uploaded file

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to