mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
empty query UUID means negative caching (ITS#6796)
This commit is contained in:
parent
c4bdb76de0
commit
d829953dd0
@ -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 New Issue
Block a user