You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2008/11/10 19:45:44 UTC

[jira] Resolved: (DIRSERVER-1287) Substring search with special chars not working

     [ https://issues.apache.org/jira/browse/DIRSERVER-1287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann resolved DIRSERVER-1287.
----------------------------------------

    Resolution: Fixed

Fixed here:
  http://svn.apache.org/viewvc?rev=712718&view=rev


> 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.