You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2016/12/09 14:40:58 UTC

[jira] [Created] (OAK-5260) Incorrect handling of subpaths with leading left curly bracket

Bertrand Delacretaz created OAK-5260:
----------------------------------------

             Summary: Incorrect handling of subpaths with leading left curly bracket
                 Key: OAK-5260
                 URL: https://issues.apache.org/jira/browse/OAK-5260
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: jcr
            Reporter: Bertrand Delacretaz


As per SLING-6383 it looks like the Oak name mapping causes for example getItem("/libs/{sub") (with a left curly bracket in the path) to return the /libs node if that exists but the supplied path does not.

I'll attach a patch with a test that demonstrates this. 

[~fmeschbe] mentions in that Sling issue that the parsing of the CR 2 section 3.2.5.1 Expanded Form could be involved, treating the left curly bracket in a special way that's not appropriate here.



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