Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-6039

DNFieldsUtil.removeEmpties throws exception on input ending with a comma

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PKI core
    • Labels:
    • Issue discovered during:
      Ad Hoc

      Description

      It does not handle DNs ending with a comma. Such DNs are to my knowledge not valid, but could appear due to some import (I have an end entity with a such DN in my database, at least.

      This affects anything that retrieves an end entity with a such broken DN from the database. For instance it breaks statedump exporting, and causes a stacktrace if you make a search in the adminweb that matches the end entity.

      Setting fix version to 6.9.0 since it prevents me from doing reviews of statedump issues

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            samuel Samuel Lidén Borell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: