mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
no need to check escaping of normalized dn
This commit is contained in:
parent
0006ec0a46
commit
20e46b27fc
1 changed files with 5 additions and 3 deletions
|
|
@ -548,11 +548,13 @@ select_backend(
|
|||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
* input DN is normalized, so the separator check
|
||||
* need not look at escaping
|
||||
*/
|
||||
if ( len && len < dnlen &&
|
||||
( !DN_SEPARATOR( dn->bv_val[(dnlen-len)-1] ) ||
|
||||
DN_ESCAPE( dn->bv_val[(dnlen-len)-2] ) ) )
|
||||
!DN_SEPARATOR( dn->bv_val[(dnlen-len)-1] ))
|
||||
{
|
||||
/* make sure we have a separator */
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue