You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Dominique Jäggi (JIRA)" <ji...@apache.org> on 2015/08/13 11:29:46 UTC

[jira] [Resolved] (JCR-3899) Searching authorizables with ' and ] in authorizable id and/or principal name

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

Dominique Jäggi resolved JCR-3899.
----------------------------------
    Resolution: Fixed

due to changes in the query core, the only failure remaining was invalid query syntax, due to the jcr:like(fn:name()) condition not being escaped if the condition was an apostrophe ('). added angela's tests (thanks!) from her patch in OAK-2231 and fixed the query by escaping invalid query characters.

fixed in jackrabbit r1694984

> Searching authorizables with ' and ] in authorizable id and/or principal name
> -----------------------------------------------------------------------------
>
>                 Key: JCR-3899
>                 URL: https://issues.apache.org/jira/browse/JCR-3899
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.10
>            Reporter: Dominique Jäggi
>            Priority: Minor
>             Fix For: 2.11.0
>
>
> see attached test cases in OAK-2231
> note that it seems that only the test using an authorizable query fails in jackrabbit 2.x while all tests fail in oak.
> addressing this issue involves both analysis of the query engine and the user query part as both can be involved.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)