From: Graham B. <gb...@po...> - 2002-04-23 10:21:25
|
On Tue, Apr 23, 2002 at 11:21:57AM +0200, Norbert Klasen wrote: > --On Freitag, 19. April 2002 08:43 +0100 Graham Barr <gb...@po...> > wrote: > > Whats wrong with the subs in Net::LDAP::Utils ? > > ldap_explode_dn does not unescape escaped characters, e.g. the DN 'CN=\#John > Smith\ ' becomes > $VAR1 = { > 'CN' => '\\#John Smith\\20' > }; > > instad of > > $VAR1 = { > 'CN' => '#John Smith ' > }; Hm, I guess canonical_dn needs to be split from usinf explode_dn, or explode_dn needs to be told not to expand. Otherwise you cannot tell the difference between CN=#a0 and CN=\#a0 Do all testcases pass with your functions in place of the existing ones ? Graham. |