Re: Apache2::Upload ->upload method dies silently if any file field is empty

"Edward J. Sabol" <[email protected]> Fri, 18 Jul 2025 03:32:34 -0400
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Jul 17, 2025, at 1:32=E2=80=AFPM, Alex Aminoff <[email protected]> wrote:
> I have written up a description and replication code here:
>=20
> http://back.nber.org/sys-admin/apache2_upload_bug.html
>=20
> Is this something anyone else has seen?

Hi, Alex. Yes, this is a known problem that has been discussed on the mod_pe=
rl and mod_perl dev mailing lists going back to 2022 and which came to a boi=
l in February 2024. Check the mailing list archives to read more about the s=
ad state we are in.

Essentially, libapreq 2.17 is broken, as you have discovered, and it should n=
ot be used, imho. If you can access the svn repository for libapreq, I think=
 the trunk might have a fix for the problem you have encountered, but it has=
n't been officially released as 2.18. Personally, I continue to use an older=
 version of libapreq that I know works well.

Regards,
Ed