Radu Cotescu created SLING-5909:
-----------------------------------
Summary: 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.15.0
{{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)