[
https://issues.apache.org/jira/browse/DIRSERVER-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Norval Hope closed DIRSERVER-796.
---------------------------------
> LdapDn.toString() doesn't return valid parseable DN string
> ----------------------------------------------------------
>
> Key: DIRSERVER-796
> URL: https://issues.apache.org/jira/browse/DIRSERVER-796
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: ldap
> Affects Versions: 1.5.0, 1.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.
-
You can reply to this email to add a comment to the issue online.