mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
23.56.2006 aae3ba24b210113cf34a0e6bdc5a208c08b6a542
refs
author boli <boli@localhost>
Saturday, September 23, 2006 00:56 +0200
committer boli <boli@localhost>
Saturday, September 23, 2006 00:56 +0200
commitaae3ba24b210113cf34a0e6bdc5a208c08b6a542
tree 5810a0bf274c976fd9816d77bc93146d76fd693c tree | zip | gz
parent cb643108d5f3ed334649b9a32b657d2bc161db38 view | diff
Fixed several bugs:

An extensible LDAP filter with dn attribute but without attribute name and
matching rule causes IndexOutOfBounds exception in LDAPFilter.decode method.

To reproduce the error, decode filter string "(:dn:=John Doe)"

Fix for issue 708.

Constructing a LDAPFilter object from a SearchFilter objects with NOT components
results in an incomplete LDAPFilter object. The LDAPFilter will be complete
except for the NOT components. This results in a NullPointerException exception
when calling methods that assume a LDAPFilter component will not be NULL (ie.
toString).

Fix for issue 709.

When encoding LDAPFilter objects to ASN1Element objects, extensible components
are encoded as or components. The matching rule ID is also included twice in the
encoding with the wrong ASN1 type of matching rule attribute.

Fix for issue 710.
2 files modified
13 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPFilter.java 11 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/FilterType.java 2 ●●● diff | view | raw | blame | history