[ https://issues.apache.org/jira/browse/SLING-9222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz resolved SLING-9222. ---------------------------------------- Resolution: Fixed Implemented in [commit bf4040d|https://github.com/apache/sling-org-apache-sling-servlets-resolver/commit/bf4040d04f7eb69f4929c4d3ee75eb422b3592bd] and I'll add a mention of that option at https://sling.apache.org/documentation/the-sling-engine/servlets.html > Support requiring empty extensions or selectors in paths.strict mode > -------------------------------------------------------------------- > > Key: SLING-9222 > URL: https://issues.apache.org/jira/browse/SLING-9222 > Project: Sling > Issue Type: Improvement > Components: Servlets > Affects Versions: Servlets Resolver 2.6.4 > Reporter: Bertrand Delacretaz > Assignee: Bertrand Delacretaz > Priority: Minor > Fix For: Servlets Resolver 2.6.6 > > > The SLING-8110 {{sling.servlets.paths.strict}} mode should support requiring > an empty set of selectors or and empty extension for a path-based servlet to > be selected. > I'll implement this using a special {{.EMPTY.}} value for the > {{sling.servlet.selectors}} and {{sling.servlet.extensions}} properties, > which indicates that the servlet is only selected if the corresponding value > is empty. -- This message was sent by Atlassian Jira (v8.3.4#803005)