Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 55166
Status: rejected
Priority: 0/
Queue: CGI

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

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)

Download (untitled) / with headers
text/plain 282b
File upload methods like UploadInfo show that they need a filename as argument. Everything is fine with the sample using ->param to get this filename, but if you use ->Vars to get all arguments as a hash (ref) and then use UploadInfo on the correct hash value, it doesn't work.
Download (untitled) / with headers
text/plain 141b
Thanks for the report. The next step is for someone to provide a failing Test::More-style test case which formally illustrates the issue.
Download (untitled) / with headers
text/plain 240b
This issue has been copied to: please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
Download (untitled) / with headers
text/plain 357b
Rejecting. Documentation shows that you should use ->param method to get the filename to pass to uploadinfo. This is because internally the files are stored as Fh objects, so you need to get the correct identifier through ->param. Calling ->Vars is no good as this will return the plain key/values, i.e. the filename will be just that and not the Fh object.

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

Please report any issues with to