Substring search with special chars not working
-----------------------------------------------

                 Key: DIRSERVER-1287
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1287
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.5.4
            Reporter: Stefan Seelmann
            Assignee: Stefan Seelmann
             Fix For: 1.5.5


A substring search with special chars is not working. Examples: (cn=*[*) or 
(cn=*\2A*) 

I receive an error like

----------------------------------------------------------------
: Unclosed character class near index 4
.*[.*
    ^]
----------------------------------------------------------------

I investigated that we use regular expressions for substring search and the 
StringTools.getRegex() creates a Pattern object using the search strings. I 
think we must quote regex meta characters.


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

Reply via email to