directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1287) Substring search with special chars not working
Date Mon, 10 Nov 2008 16:05:44 GMT
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.


Mime
View raw message