[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Default Pretty Form of DNs

At 12:31 AM 2001-12-23, Pierangelo Masarati wrote:
>> I recommend the default pretty form be the strict RFC 2253 (bis)
>> with minimal escaping.  That is, only characters which require
>> escaping are escaped.  If clients desire further escaping before
>> presenting the DN to the user, that's there responsibility.
>I modified the dn parsing/handling code to leave untouched the
>UTF-8 stuff when PRETTY job is required; otherwise all non-ascii 
>and the WILLESCAPE chars are escaped.

  dntest "cn=\20"
  dntest "cn=\ "

both should return "cn=\20".  In fact, the \xx (hexpair) form
should be used when ever and where ever LDAPv3 escaping is needed.


>Please test.