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

david_page
03.15.2007 ad7d609fbdf8bc345569984971d0e7a18154b5d4
refs
author david_page <david_page@localhost>
Thursday, May 3, 2007 05:15 +0200
committer david_page <david_page@localhost>
Thursday, May 3, 2007 05:15 +0200
commitad7d609fbdf8bc345569984971d0e7a18154b5d4
tree a172bc39051ae73825e60b5999ff65ac34278f8d tree | zip | gz
parent 9a0cd875551af5b1490aa1c6557dcdc93fb06a3b view | diff
Issue [1024] Invalid filters are not detected by ldapsearch

This change addresses a specific case of the problem identified in the issue. Specifically, a test was added to detect and reject the specific case of apostrophes (single-quotes) enclosing an LDAP filter, which occurs when ldapsearch is invoked on a Microsoft Windows system and the search filter has mistakenly been enclosed by apostrophes instead of quotation marks.

Issue 1565 has been opened to address the more general question of what constitutes a valid search filter, including the characters allowed in an attribute type.

Thanks to Andy Coulbeck for help analyzing the problem and designing a solution, and David Ely for reviewing the proposed change.
2 files modified
44 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/messages/ProtocolMessages.java 32 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPFilter.java 12 ●●●●● diff | view | raw | blame | history