directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norval Hope (JIRA)" <>
Subject [jira] Created: (DIRSERVER-1395) '=' is being escaped properly in RDN values
Date Thu, 06 Aug 2009 10:52:14 GMT
'=' is being escaped properly in RDN values

                 Key: DIRSERVER-1395
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: ldap
    Affects Versions: 1.0, 1.5.4
         Environment: Windows XP
            Reporter: Norval Hope

A colleague of mine discovered that due to a mistake in a boolean array (AttributeTypeAndValue.DN_ESCAPED_CHARS)
the '=' character is not escaped during RDN normalization when it appears in a RDN value.
This may be due to seemingly leaving it in "2.4.  Converting
an AttributeValue from ASN.1 to a String" but then including it in the "special  = " BNF clause.

The attached patch fixes the problem, adds a new testcase covering it and fixes a few other
testcases which tested for the old (broken) behaviour.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message