Closed
Bug 183959
Opened 23 years ago
Closed 7 years ago
LDAPDN.explodeDN() doesn't split RDNs separated by ';' (semicolons)
Categories
(Directory Graveyard :: LDAP Java SDK, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mrlem, Assigned: erhyuan)
Details
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) == ';'))
Comment 3•22 years ago
|
||
Reassign LDAP JDK bugs owned by Miodrag (miodrag@formerly-netscape.com.tld) to
E-Y (erhyuan@pacbell.net)
Assignee: miodrag → erhyuan
Comment 4•7 years ago
|
||
Not activity for at least 6 years, closing.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•