mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
more cleanup and ITS number
This commit is contained in:
parent
c75386a279
commit
cc0353610f
@ -2484,7 +2484,6 @@ aci_mask(
|
|||||||
/* see if we have a public (i.e. anonymous) access */
|
/* see if we have a public (i.e. anonymous) access */
|
||||||
if ( ber_bvstrcasecmp( &aci_bv_public, &type ) == 0 ) {
|
if ( ber_bvstrcasecmp( &aci_bv_public, &type ) == 0 ) {
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* otherwise require an identity */
|
/* otherwise require an identity */
|
||||||
@ -2493,7 +2492,7 @@ aci_mask(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* NOTE: this may fail if a DN contains a valid '#' (unescaped);
|
/* NOTE: this may fail if a DN contains a valid '#' (unescaped);
|
||||||
* just grab all the berval up to its end.
|
* just grab all the berval up to its end (ITS#3303).
|
||||||
* NOTE: the problem could be solved by providing the DN with
|
* NOTE: the problem could be solved by providing the DN with
|
||||||
* the embedded '#' encoded as hexpairs: "cn=Foo#Bar" would
|
* the embedded '#' encoded as hexpairs: "cn=Foo#Bar" would
|
||||||
* become "cn=Foo\23Bar" and be safely used by aci_mask(). */
|
* become "cn=Foo\23Bar" and be safely used by aci_mask(). */
|
||||||
|
Loading…
Reference in New Issue
Block a user