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

2025-07-17 Thread Randolf Richardson via modperl
I've been down this road. If wrapping $r->upload() in an eval block doesn't solve the problem, it's likely that you need to upgrade libapreq2 to v2.18 (or newer): https://www.inter-corporate.com/kb/internal-apreq-error.pl If your Linux distribution doesn't include

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

2025-07-17 Thread Alex Aminoff
I am seeing some very suprising behavior with calling ->upload on a Apache2::Request object (with use Apache2::Upload). It appears that if the user did not click and select a file to upload, that is to say left the field empty, the server stops processing the perl code and immediately sends