More cases of invalid ldap filters accepted and processed

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: 6u17-rev
    • Component/s: core-libs
    • None
    • b86
    • generic
    • generic

        Ldap filters indentified as invalid by RFC: http://tools.ietf.org/html/rfc4515 are accepted and processd. The JDK ldap code should throw an exception when such invalid filters are encountered, instead of processing and passing the ldap request to the LDAP servers which always throw an exception. Following are examples of invalid filters:

        1. "((objectClass=*)&(uid=*))"
        2. &(objectClass=*)(uid=*)
        3. ((objectCategory=person)(objectClass=user)(!(cn=user1*)))
        4. ((&(objectClass=user)(cn=andy*)(cn=steve*)(cn=margaret*)))

              Assignee:
              Xuelei Fan
              Reporter:
              Asok Perumainar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: