You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2016/08/26 11:53:20 UTC

[jira] [Closed] (SLING-5909) Path matching is not correctly applied to glob patterns

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

Radu Cotescu closed SLING-5909.
-------------------------------

> Path matching is not correctly applied to glob patterns
> -------------------------------------------------------
>
>                 Key: SLING-5909
>                 URL: https://issues.apache.org/jira/browse/SLING-5909
>             Project: Sling
>          Issue Type: Bug
>          Components: API
>    Affects Versions: API 2.14.0
>            Reporter: Radu Cotescu
>            Assignee: Radu Cotescu
>             Fix For: API 2.14.2
>
>
> {{org.apache.sling.api.resource.path.Path#matches}} does not allow matching patterns as sub-paths. With the current implementation the following test will fail:
> {code:java}
> final Path path = new Path("/");
> assertTrue(path.matches("glob:/apps/myproject/components/**/*.html"));
> {code}



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