trouble with html form after Debian upgrade to Bookworm

"vv.lists" <[email protected]> Thu, 16 Nov 2023 01:43:16 +0100
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hi all,

I host a few case/customer management applications developped with mod_perl on Debian; these applications provide html forms with which users can record documents pertaining to the case/customer. 

These forms include various <input type=text|hidden|file> controls. A user may update a record to change the document or some text field, like the date, without changing the document itself (see the signature for an example, select any file in the demo account, click on the 'Documents' tab).

After I upgraded my servers to Debian Bookworm, my users signaled that they could not simply update a text field anymore : a document was to be selected, otherwise no change could take place. It appears that the <input> fields on the form placed AFTER <input type=file> did not find their way into @args if the latter was empty.

Correcting the problem was simple : in my html page, I simply placed the <input type=file> control last, and all controls are now submitted even when no new file is present.

I'm wondering if any of you has an idea of what caused this change in behaviour? 


# dpkg -l *apache2* |grep ii
ii  apache2                         2.4.57-2       amd64        Apache HTTP Server
ii  apache2-bin                     2.4.57-2       amd64        Apache HTTP Server (modules and other binary files)
ii  apache2-data                    2.4.57-2       all          Apache HTTP Server (common files)
ii  apache2-utils                   2.4.57-2       amd64        Apache HTTP Server (utility programs for web servers)
ii  libapache2-mod-apreq2           2.17-3~bpo12+1 amd64        generic Apache request library - Apache module
ii  libapache2-mod-perl2            2.0.12-1+b2    amd64        Integration of perl with the Apache2 web server
ii  libapache2-reload-perl          0.13-4         all          module for reloading Perl modules when changed on disk
ii  libapache2-request-perl         2.17-3~bpo12+1 amd64        generic Apache request library - Perl modules

-- 
Legal/insurance case management software
https://legalcase.libremen.com