[ https://issues.apache.org/jira/browse/SLING-6781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothee Maret resolved SLING-6781. ----------------------------------- Resolution: Fixed Fixed in {{r1791766}}. > VltUtils only keep the last filter for a given path > --------------------------------------------------- > > Key: SLING-6781 > URL: https://issues.apache.org/jira/browse/SLING-6781 > Project: Sling > Issue Type: Bug > Components: Content Distribution > Affects Versions: Content Distribution Core 0.2.6 > Reporter: Timothee Maret > Assignee: Timothee Maret > Fix For: Content Distribution Core 0.2.8 > > > The utility method VltUtils#parseFilters [0] does not merge the definitions > for the same path. As an example providing the filters > {code} > new String[]{"/home/users|-.*/.tokens","/home/users|-.*/.rep:cache"} > {code} > will return a tree map with only one entry ({{.*/.rep:cache}}) for the path > {{/home/users}}). > [0] > https://github.com/apache/sling/blob/trunk/contrib/extensions/distribution/core/src/main/java/org/apache/sling/distribution/serialization/impl/vlt/VltUtils.java#L305-L338 > -- This message was sent by Atlassian JIRA (v6.3.15#6346)