directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRSERVER-1699) DN/RDN handling is incorrect when there are some escaped values into them
Date Wed, 22 Feb 2012 15:39:48 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny resolved DIRSERVER-1699.
------------------------------------------

    Resolution: Fixed

Fixed with http://svn.apache.org/viewvc?rev=1292346&view=rev
                
> DN/RDN handling is incorrect when there are some escaped values into them
> -------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1699
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1699
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M5
>            Reporter: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 2.0.0-M6
>
>
> Creating an entry which DN is :
> cn=a\+B,ou=system
> leads to an entry containing the following cn :
> cn: a+b
> which is not good, because the expected value is a+B
> This is due to the fact that we store the normalized RDN value instead of the upValue.
> It goes a bit farther though : the way we handle DN and RDN is bogs wrt values : we should
store the UP value *without* the escape chars (\), and this is not what we store.
> For instance, the following RDN :
> cn=a\+B
> will have a upValue -> a\+B instead of a+B
> and a normValue -> a+b
> The normValue is correct, but there is a confusion between the upValue and the escapedValue,
which is only use when printing RDN, not when manipulating them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message