Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1699

DN/RDN handling is incorrect when there are some escaped values into them

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.0-M5
    • 2.0.0-M6
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: