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

Storing byte[] values for textual AT is possible even if not allowed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.1, 1.5.0
    • 1.0.1, 1.5.0
    • None
    • None

    Description

      If we pass a DN as a byte[] to the server (for instance, by importing a Ldif file which contains an base64 encoded value), the server stores the value as a byte[] instead of transforming the value to a String before storing it. This is not good at all. In case we have a H-R atttribute type, then we must assume that the value should be converted to a String, and if we get an invalid byte[], then we must throw an exception.

      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: