mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
fix empty substrings any bug
This commit is contained in:
parent
38fea082ad
commit
81d2a0f289
@ -675,7 +675,7 @@ put_substring_filter( BerElement *ber, char *type, char *val )
|
||||
|
||||
*nextstar++ = '\0';
|
||||
|
||||
if ( *val != '\0' ) {
|
||||
if ( *val != '\0' || ftype == LDAP_SUBSTRING_ANY ) {
|
||||
ber_slen_t len = ldap_pvt_filter_value_unescape( val );
|
||||
|
||||
if ( len < 0 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user