mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-10 00:45:01 -05:00
empty query UUID means negative caching (ITS#6796)
This commit is contained in:
parent
c4bdb76de0
commit
d829953dd0
1 changed files with 5 additions and 3 deletions
|
|
@ -674,9 +674,11 @@ url2query(
|
|||
}
|
||||
|
||||
ber_str2bv( &lud->lud_exts[ i ][ STRLENOF( "x-uuid=" ) ], 0, 0, &tmpUUID );
|
||||
rc = syn_UUID->ssyn_pretty( syn_UUID, &tmpUUID, &uuid, NULL );
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
goto error;
|
||||
if ( !BER_BVISEMPTY( &tmpUUID ) ) {
|
||||
rc = syn_UUID->ssyn_pretty( syn_UUID, &tmpUUID, &uuid, NULL );
|
||||
if ( rc != LDAP_SUCCESS ) {
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
got |= GOT_UUID;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue