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

Re: Openldap incorrectly? encodes ~ in base64 (ITS#2369)



At 12:39 PM 3/12/2003, quanah@stanford.edu wrote:
>Full_Name: Quanah Gibson-Mount
>Version: 2.1.14
>OS: Solaris 8
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (171.64.19.82)
>
>
>As reported by Anton Ushkov in 2002:
>
>http://www.openldap.org/lists/openldap-software/200201/msg00026.html
>
>We have found that when one of our attributes has a ~ in it, it gets encoded as
>base64.

If one assumes the value is a properly encoded directory string
(and I've done the transcoding properly), 0xC4A0 is the UTF-8
encoding of LATIN CAPITAL LETTER G WITH DOT ABOVE (U+0120)
not TILDE (U+007E).  The UTF-8 encoding of TILDE is 0x7E.

But regardless, as the value was represented in valid
LDIFv1, so I don't see any OpenLDAP software bug here.

Kurt