Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-67

Parsers and generators of OpenLDAP code (RFC 4512) for Schema Objects does not support escaped strings in the description

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.0.0-M8
    • 1.0.0-M23
    • None

    Description

      The parsers for OpenLDAP code (RFC 4512) for SchemaObjects does not support having an escaped string using "\'".

      Same thing for the generators which does not automatically escape a string containing a ' (quote) character when it's used in the description.

      Furthermore, there seem to be 2 different classes generating OpenLDAP code:

      • /shared-ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/DescriptionUtils.java
      • /shared-ldap-model/src/main/java/org/apache/directory/shared/ldap/model/schema/SchemaUtils.java

      We should verify if a single one couldn't be used instead.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pamarcelot Pierre-Arnaud Marcelot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: