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

boli
27.43.2006 ae2d9af4b021a0802f0edb911f41f91f1e953830
Changed the offset for the startsWith method so it looks for the ":dn:" token from the correct place in the lowerLeftStr string. 

Fix for issue 722.
1 files modified
2 ■■■ changed files
opends/src/server/org/opends/server/protocols/ldap/LDAPFilter.java 2 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPFilter.java
@@ -1671,7 +1671,7 @@
      // by the matching rule ID.
      if (colonPos < (equalPos-1))
      {
        if (lowerLeftStr.startsWith(":dn:", colonPos))
        if (lowerLeftStr.startsWith(":dn:", colonPos - startPos))
        {
          dnAttributes = true;