cleanup fix to ITS#3303

This commit is contained in:
Pierangelo Masarati 2004-11-20 12:07:39 +00:00
parent 40762c524a
commit c75386a279

View file

@ -2492,7 +2492,11 @@ aci_mask(
return 0;
}
/* 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.
* NOTE: the problem could be solved by providing the DN with
* the embedded '#' encoded as hexpairs: "cn=Foo#Bar" would
* become "cn=Foo\23Bar" and be safely used by aci_mask(). */
#if 0
if ( aci_get_part( aci, 4, '#', &sdn ) < 0 ) {
return 0;