sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz (Jira)" <>
Subject [jira] [Resolved] (SLING-8110) Take "extensions" service property into account for path-mounted servlets
Date Fri, 06 Mar 2020 10:44:00 GMT


Bertrand Delacretaz resolved SLING-8110.
    Resolution: Fixed

Ok, makes sense - I have created SLING-9176 for the documentation/advertising bits.

> Take "extensions" service property into account for path-mounted servlets
> -------------------------------------------------------------------------
>                 Key: SLING-8110
>                 URL:
>             Project: Sling
>          Issue Type: Improvement
>          Components: Servlets
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Servlets Resolver 2.6.0
> If a Sling Servlet has both _paths_ and _extensions_ service properties, currently the
_paths_ take over and the _extensions_ are ignored.
> This has caused confusion with users who have set both properties on a servlet - my initial
thought was to reject such illegal combinations, but a colleague rightly notes that it would
make sense to honor the _extensions_ property as well, and only route requests to that servlet
if there's a match on the extension.
> This requires more analysis, for now I'm just creating this ticket to remind us to have
another look.

This message was sent by Atlassian Jira

View raw message