You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/03/19 14:06:02 UTC
[jira] [Commented] (SLING-9222) Support requiring empty extensions
or selectors in paths.strict mode
[ https://issues.apache.org/jira/browse/SLING-9222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17062601#comment-17062601 ]
Konrad Windszus commented on SLING-9222:
----------------------------------------
Shouldn't the same be supported for resource type based servlets?
> 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)