Bug#786587: libcgi-pm-perl: change to tempfile handling in 4.05 breaks Ikiwiki

Simon McVittie smcv at debian.org
Tue Jun 16 06:42:23 UTC 2015


Control: tag 786587 + patch fixed-upstream

On Sun, 07 Jun 2015 at 14:46:14 +0100, Simon McVittie wrote:
> However, it seems that this no longer works: tmpFileName now expects a
> file-handle, as received from $query->upload('uploaded_file'). I've
> reported this upstream, <https://github.com/leejo/CGI.pm/issues/178>.

It's a bit more complicated than that: the "filename" that is the argument
is actually a reference to a filehandle which also stringifies to the
filename. Using a string that is equal to the "filename", but not a
reference, is the thing that used to work but now doesn't.

Fixed upstream by <https://github.com/leejo/CGI.pm/commit/708682defb46764794edaccd9a8da4e2c1c4b738>.
I don't know whether software other than ikiwiki is affected by this.

Regards,
    S



More information about the pkg-perl-maintainers mailing list