directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSERVER-796) LdapDn.toString() doesn't return valid parseable DN string
Date Wed, 13 Dec 2006 17:23:22 GMT
    [ http://issues.apache.org/jira/browse/DIRSERVER-796?page=comments#action_12458197 ] 
            
Emmanuel Lecharny commented on DIRSERVER-796:
---------------------------------------------

Ok, I have just committed a big patch in trunks which should fix this issue (http://svn.apache.org/viewvc?view=rev&rev=486748
)

I will try to apply it to 1.0 now.



> 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

        

Mime
View raw message