User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126 The LDAPDN.explodeDN() method doesn't split RDNs separated by ';' (semicolons). RFC1485 specifies that "Semicolon (";") may be used as an alternate separator". (even if it is not encouraged) The source-code seems to confirm that, currently, only ',' (comas) are used to explode the DN. Reproducible: Always Steps to Reproduce: 1. myDN is a string that contains a DN using ';' as an RDN separator 2. LDAPDN.explodeDN(myDN) Actual Results: the whole DN (unexploded) Expected Results: exploded RDNs array In the java source file netscape/ldap/util/DN.java, in the DN(String) constructor, the condition : if (buffer.charAt(i) == ',') should, unless I'm mistaken, be replaced with something like : if ((buffer.charAt(i) == ',') || (buffer.charAt(i) == ';'))
This does sound like a bug. Reassigned to Miodrag.
Assignee: mcs → miodrag
Spam for bug 129472
QA Contact: nobody → nobody
Reassign LDAP JDK bugs owned by Miodrag (firstname.lastname@example.org) to E-Y (email@example.com)
Assignee: miodrag → erhyuan
You need to log in before you can comment on or make changes to this bug.