Re: strcasecmp raises its...

2022-05-20 Thread Ruediger Pluem
On 5/19/22 7:54 PM, Stefan Eissing wrote: > > >> Am 19.05.2022 um 17:20 schrieb Ruediger Pluem : >> >> >>> >>> +1 from me for replacing our protocol+config handling code with the >>> ap_cstr_casecmp(). >> >> +1. Just to mention: Christophe already did quite some work in this area. > >

Re: strcasecmp raises its...

2022-05-19 Thread Stefan Eissing
> Am 19.05.2022 um 17:20 schrieb Ruediger Pluem : > > > > On 5/19/22 5:15 PM, Stefan Eissing wrote: >> >> >>> Am 19.05.2022 um 16:44 schrieb Joe Orton : >>> >>> On Wed, May 18, 2022 at 05:34:22PM +0200, Ruediger Pluem wrote: On 5/18/22 4:55 PM, Joe Orton wrote: > I think for

Re: strcasecmp raises its...

2022-05-19 Thread Ruediger Pluem
On 5/19/22 5:15 PM, Stefan Eissing wrote: > > >> Am 19.05.2022 um 16:44 schrieb Joe Orton : >> >> On Wed, May 18, 2022 at 05:34:22PM +0200, Ruediger Pluem wrote: >>> On 5/18/22 4:55 PM, Joe Orton wrote: I think for httpd it is only safe and sane to run httpd with LANG=C, we do this

Re: strcasecmp raises its...

2022-05-19 Thread Stefan Eissing
> Am 19.05.2022 um 16:44 schrieb Joe Orton : > > On Wed, May 18, 2022 at 05:34:22PM +0200, Ruediger Pluem wrote: >> On 5/18/22 4:55 PM, Joe Orton wrote: >>> I think for httpd it is only safe and sane to run httpd with LANG=C, we >>> do this in the default service scripts in Fedora/RHEL for a

Re: strcasecmp raises its...

2022-05-19 Thread Joe Orton
On Wed, May 18, 2022 at 05:34:22PM +0200, Ruediger Pluem wrote: > On 5/18/22 4:55 PM, Joe Orton wrote: > > I think for httpd it is only safe and sane to run httpd with LANG=C, we > > do this in the default service scripts in Fedora/RHEL for a very long > > time. Other than the protocol parsing

Re: strcasecmp raises its...

2022-05-19 Thread Ruediger Pluem
On 5/18/22 7:17 PM, Nick Kew wrote: > >> On 18 May 2022, at 16:34, Ruediger Pluem wrote: >> >> Rüdiger > > What locale are YOU in there? Any attempt at locale is going to have to draw > lines: de_DE.UTF-8 > what are the rules for when Ruediger == Rüdiger? There can be none. Because I

Re: strcasecmp raises its...

2022-05-18 Thread Stefan Eissing
> Am 18.05.2022 um 19:17 schrieb Nick Kew : > > >> On 18 May 2022, at 16:34, Ruediger Pluem 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)

Re: strcasecmp raises its...

2022-05-18 Thread Nick Kew
> On 18 May 2022, at 16:34, Ruediger Pluem 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,

Re: strcasecmp raises its...

2022-05-18 Thread Ruediger Pluem
On 5/18/22 4:55 PM, Joe Orton wrote: > On Wed, May 18, 2022 at 12:53:57PM +0200, Ruediger Pluem wrote: >> >> >> On 5/18/22 12:19 PM, Stefan Eissing wrote: >>> 2022 and we discuss strcasecmp() again? >>> >>> Background: OpenSSL 3.0.3 added OPENSSL_strcasecmp() and friends and there >>> are

Re: strcasecmp raises its...

2022-05-18 Thread Joe Orton
On Wed, May 18, 2022 at 12:53:57PM +0200, Ruediger Pluem wrote: > > > On 5/18/22 12:19 PM, Stefan Eissing wrote: > > 2022 and we discuss strcasecmp() again? > > > > Background: OpenSSL 3.0.3 added OPENSSL_strcasecmp() and friends and there > > are several issue around their implementation. Up

Re: strcasecmp raises its...

2022-05-18 Thread Ruediger Pluem
On 5/18/22 12:19 PM, Stefan Eissing wrote: > 2022 and we discuss strcasecmp() again? > > Background: OpenSSL 3.0.3 added OPENSSL_strcasecmp() and friends and there > are several issue around their implementation. Up to this version, they > relied on the POSIX strcasecmp(). Whatever their

strcasecmp raises its...

2022-05-18 Thread Stefan Eissing
2022 and we discuss strcasecmp() again? Background: OpenSSL 3.0.3 added OPENSSL_strcasecmp() and friends and there are several issue around their implementation. Up to this version, they relied on the POSIX strcasecmp(). Whatever their reasons for their change... Checking our sources, we have