From: Andrew Elble Date: Tue, 22 Apr 2025 17:53:35 +0000 (-0400) Subject: ITS#10329 slapo-pcache: template match must be case insensitive X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ae25391704171cf50174228140faa1b05baec56;p=thirdparty%2Fopenldap.git ITS#10329 slapo-pcache: template match must be case insensitive --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 67525d6af3..1f9b17eb9e 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -792,7 +792,7 @@ url2query( qt = qm->attr_sets[attrset].templates; for ( ; qt; qt = qt->qtnext ) { /* find if template i can potentially answer tempstr */ - if ( bvmatch( &qt->querystr, &tempstr ) ) { + if ( ber_bvstrcasecmp( &qt->querystr, &tempstr ) ) { break; } }