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

NormalizationService is not handling correctly a Name with a comma followed by a space in it: for instance "text1, text2"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • pre-1.0
    • 1.5.0
    • None
    • None
    • XP

    Description

      In my custom partition I have organizations with various special characters in their name, for instance:
      "text1=text2"
      "text1 text2"
      "text1,text2"
      The 3 above all work fine.

      But the following won't be normilized correctly:
      "text1= text2"
      "text2, text2"

      They are normilized by NormalizationService.search or NormalizationService.hasEntry as this:
      "text1= text2" --> "text1=text2"
      "text2, text2" --> "text1,text2"

      The space after the = or the , are skipped.
      I think the code doing this is coming from antrl.
      I tried using the latest 2.7.5 but the problem is still there.

      I think the actual class with the bug is LLKParser.
      I didn't download the code so i am not sure what's wrong.
      I believe this is a regression as the same test case used to work with a previous
      version of apache DS.

      Let me know if you need anything more from me.

      Attachments

        Activity

          People

            elecharny Emmanuel Lécharny
            giamma Giamma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: