mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 14:10:39 -05:00
fix empty substrings any bug
This commit is contained in:
parent
38fea082ad
commit
81d2a0f289
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue