jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Jäggi (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (OAK-2231) Searching authorizables with ' and ] in authorizable id and/or principal name
Date Mon, 10 Aug 2015 08:33:45 GMT

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

Dominique Jäggi resolved OAK-2231.
----------------------------------
    Resolution: Fixed

due to changes in the oak 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 [~anchela]'s tests (thanks!) from her patch and fixed the query by escaping invalid
query characters.

fixed in jackrabbit r1694984
fixed in oak r1694986

> Searching authorizables with ' and ] in authorizable id and/or principal name
> -----------------------------------------------------------------------------
>
>                 Key: OAK-2231
>                 URL: https://issues.apache.org/jira/browse/OAK-2231
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, query
>            Reporter: angela
>            Assignee: Dominique Jäggi
>            Priority: Minor
>             Fix For: 1.3.4
>
>         Attachments: OAK-2231_jr.patch, OAK-2231_oak.patch
>
>
> see attached test cases for oak and for jackrabbit 2.x
> 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)

Mime
View raw message