httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Nilsson <>
Subject Re: libapreq-1.1 Release Candidate 1
Date Tue, 26 Nov 2002 13:08:55 GMT
Joe Schaefer wrote:
> The apreq developers are planning a maintenance release of
> libapreq-1.1.  This version does not include support for
> modperl-2, but it does address some outstanding problems in
> 1.0:

I have made the below patch to make Apache::Request behave like 
when parsing multi-valued http POST data. Without the patch the matching 
of the variable names is case insensitive this results in a multi valued 
list instead of two separate hash entries if the following fragment is 

<input type="hidden" name="GOTO" value="up">
<input type="hidden" name="goto" value="down">

Since the keys in perl hashes are case sensitive it makes no sense to 
believe that the above two keys should create a multivalued enty and not 
two entries, one with key 'GOTO' and the other with 'goto'.

To make matters worse actual case used for the resulting multivalued key 
  is only dependent on which field that was parsed first!


Martin Nilsson, Civilingenjör M.Sc. CS&E
Svenska Butiker AB,
S:t Larsväg 44, 222 70 Lund, Sweden
Phone: +46-46-304130

View raw message