Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5.5
    • 2.0.0-M1
    • core
    • None
    • WinXPx64, JDK 1_5_0_22, Tomcat 5.0.19, ADS 1.5.5, ADStudio 1.5.0.v20091102

      A partition of type:
      objectClass=dcObject
      objectClass=organization
      objectClass=top
      dc=example
      o=org

    Description

      3. scenario - escaped plus character somewhere in the RDN attribute:

      public void insert() {
      Attributes attributes = new BasicAttributes(false);
      attributes.put(createObjectClassPerson());
      attributes.put("cn", "John
      +Doe");
      attributes.put("sn", "\\+Name
      +");
      try

      { getLdapContext().createSubcontext("cn=John\\+Doe", attributes); }

      catch (NamingException e)

      { e.printStackTrace(); }

      }

      The result is an entry with two cn attributes, one with a plus and the other one with an escaped plus. Also a warning appears
      WARN [org.apache.directory.server.core.normalization.NormalizationInterceptor] - The RDN 'cn=John+Doe' is not present in the entry.

      Attachments

        Activity

          People

            elecharny Emmanuel Lécharny
            galbrecht Günter Albrecht
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: