[ 
https://issues.apache.org/jira/browse/JCR-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729299#action_12729299
 ] 

angela commented on JCR-2202:
-----------------------------

patch originally created by tobi: 

value should be escaped as follows 

StringBuffer ret = new StringBuffer();
        for (int i = 0; i < value.length(); i++) {
            char c = value.charAt(i);
            if (c == '\\') {
                ret.append("\\\\");
            } else if (c == '\'') {
                ret.append("\\'");
            } else {
                ret.append(c);
            }
        }
        return ret.toString();

> UserManagement: IndexNodeResolver.findNodes(..... , nonExact) fails to find 
> values containing backslash
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2202
>                 URL: https://issues.apache.org/jira/browse/JCR-2202
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>            Reporter: angela
>             Fix For: 2.0.0
>
>


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