[jira] Created: (JCR-2202) UserManagement: IndexNodeResolver.findNodes(..... , nonExact) fails to find values containing backslash

3 messages Options
Embed this post
Permalink
JIRA jira@apache.org

[jira] Created: (JCR-2202) UserManagement: IndexNodeResolver.findNodes(..... , nonExact) fails to find values containing backslash

Reply Threaded More More options
Print post
Permalink
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.

JIRA jira@apache.org

[jira] Commented: (JCR-2202) UserManagement: IndexNodeResolver.findNodes(..... , nonExact) fails to find values containing backslash

Reply Threaded More More options
Print post
Permalink

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

JIRA jira@apache.org

[jira] Resolved: (JCR-2202) UserManagement: IndexNodeResolver.findNodes(..... , nonExact) fails to find values containing backslash

Reply Threaded More More options
Print post
Permalink
In reply to this post by JIRA jira@apache.org

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

angela resolved JCR-2202.
-------------------------

    Resolution: Fixed
      Assignee: angela

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