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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0-M8
    • Fix Version/s: 1.0.0-RC1
    • Labels:
      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.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Pierre-Arnaud Marcelot
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development