> Am 18.05.2022 um 19:17 schrieb Nick Kew <n...@apache.org>:
>
>
>> On 18 May 2022, at 16:34, Ruediger Pluem <rpl...@apache.org> wrote:
>>
>> RĂ¼diger
>
> What locale are YOU in there? Any attempt at locale is going to have to draw
> lines:
> what are the rules for when Ruediger == RĂ¼diger?
>
> In a WWW (and hence httpd) context, internationalised domain names raise all
> kinds
> of issues, including for us potentially breaking case-insensitivity rules in
> matching
> hostnames, and perhaps other configuration matters. What happens if we make
> locale a configurable parameter for hostnames and use strcasecmp_l?
It is not restricted to that. In the Turkish locale strcasecmp("file", "FILE")
can be != 0 ("can be" as POSIX declares it as undefined. But it has been a real
world issue in curl in the past.)
If we enforce locale to "C" in apachectl, that seems to solve the issue.
However using our own ap_cstr_casecmp in protocol functions seems like a good
idea.
Kind Regards,
Stefan
>
> --
> Nick Kew