Thank you, Joe. Upgrading from libapreq-2.17 (via apt) to libapreq-2.18 (via svn) resolved my problem -- everything is functioning as expected now, including HTML POST form handling with file upload inputs.
I also attached my installation notes with the hopes that this may be helpful to anyone else installing this upgrade on Debian 12.4 (or another similar version of Linux). Thanks again for your fast and helpful response. :) > You need to build and install libapreq2.so from svn sources. > > Joe Schaefer, Ph.D. > <https://sunstarsys.com/orion/features> > Orion - The Enterprise Jamstack Wiki <https://sunstarsys.com/orion/features> > <j...@sunstarsys.com> > 954.253.3732 <//954.253.3732> > > > > > On Wed, Jan 10, 2024 at 5:21PM Randolf Richardson <rand...@modperl.pl> > wrote: > > > I just recently upgraded my systems to Debian 12, and along with > > it > > came modperl_2.17. Overall, this release is working very well, > > except for one thing... > > > > Handling CGI parameters in HTML forms that support file > > attachments, > > which results all CGI parameters after the file (whether a user > > attaches a file or not makes no difference) are missing. > > > > For any HTML input fields that I move before the file attachment > > input element, then then their CGI parameters come through, while all > > CGI parameters after the first file input field remain missing. > > > > Any HTML forms that don't have any file input fiels are working > > correctly. > > > > <form method=post enctype=multipart/form-data> > > Text: <input name=one type=text> > > <p> > > File: <input name=file type=file> > > <p> > > More: <input name=more type=text> > > <p> > > <input type=submit value=Submit> > > </form> > > > > In my handling code, using $R->param('one') always functions as > > expected, but $R->param('more') returns undef. > > > > Has anyone else encountered this problem? If so, did you find a > > solution? (If so, what got it working for you?) > > > > Thanks in advance. > > > > Randolf Richardson, CNA - rand...@inter-corporate.com > > Inter-Corporate Computer & Network Services, Inc. > > Beautiful British Columbia, Canada > > https://www.inter-corporate.com/ > > > > > > > Randolf Richardson, CNA - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada https://www.inter-corporate.com/
apreq2-upgrade.txt
Description: Binary data