LdapDn.toString() doesn't return valid parseable DN string
----------------------------------------------------------
Key: DIRSERVER-796
URL: http://issues.apache.org/jira/browse/DIRSERVER-796
Project: Directory ApacheDS
Issue Type: Bug
Components: ldap
Affects Versions: 1.0, 1.5.0
Reporter: Norval Hope
If you do the following:
LdapDN dn = new LdapDN("oU=a\\,comma,O=acme");
then you get the following
1. dn.toString() = dn.getNormName() = 'ou=a,comma,o=acme'
2. dn.getUpName() =
'oU=a\,comma,O=acme'
Due to the value returned in 1. the following results in a parsing exception
LdapDN dn = new LdapDN(new LdapDN("oU=a\\,comma,O=acme").getNormName());
I think the value in 1. should still be a valid parseable DN string instead,
namely 'ou=a\,comma,o=acme'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira