mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Ignore space in filter: ( !(foo=bar))
This commit is contained in:
parent
6cb60f381a
commit
655c0bda41
@ -568,6 +568,10 @@ put_filter( BerElement *ber, char *str )
|
||||
case '(':
|
||||
str++;
|
||||
parens++;
|
||||
|
||||
/* skip spaces */
|
||||
while( isspace( *str ) ) str++;
|
||||
|
||||
switch ( *str ) {
|
||||
case '&':
|
||||
Debug( LDAP_DEBUG_TRACE, "put_filter: AND\n",
|
||||
|
Loading…
Reference in New Issue
Block a user