Re: [PATCH] Polish the Consistency of Case Sensitivity in Configurations

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 03 Mar 2013 20:13:36 +1300

On 18/02/2013 4:54 p.m., Amos Jeffries wrote:
> On 17/02/2013 8:10 p.m., Tianyin Xu wrote:
>> Hi, all,
>>
>> I proposed to make it consistent for the case sensitivity of
>> configuration parsing couple weeks ago. I saw the replies from Alex,
>> Reiner, and Amos. All of you agreed on this (thanks a lot!). The
>> attached patch is for this purpose.
>>
>> The patch follows Alex's idea, i.e., to make all the parameter names
>> and options case sensitive.
>>
>> The patch is really simple that changes "strcasecmp" to "strcmp". It
>> mainly deal with constant configuration options (e.g., enumerative
>> options and boolean options). For directive names, it's already
>> consistent (case sensitive), as Amos said, the parser functions are
>> auto-generated.
>>
>> I didn't change the case sensitivity of the following parameter values:
>>
>> - user and group names
>> - host names
>> - domain and realm names
>> - ACL names
>> - filesystem names
>> - options in request/response/digest messages
>>
>> Some of them should be case insensitive, and some of them I cannot
>> judge so I have to be conservative. If you want to make any of them
>> case sensitive, please let me know.
>>
>> Let me know your comments and opinions about the patch. I'm always open.
>>
>> Thanks,
>> Tianyin
>>
>>
>
> +1.

Passed the 10-day criteria without any complaints.
This patch has been applied as trunk rev.12713.

Amos
Received on Sun Mar 03 2013 - 07:13:50 MST

This archive was generated by hypermail 2.2.0 : Sun Mar 03 2013 - 12:00:11 MST