Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.
Attachments
Issue Links
- causes
-
SLING-9164 NPE when resolving servlets for resource types
- Closed
- is blocked by
-
SLING-8936 Improve test coverage for path-mounted servlets
- Closed
- is related to
-
SLING-9055 Implement a new SlingServletPathsStrict annotation
- Closed
-
SLING-9176 Document sling.servlet.paths.strict and corresponding behavior
- Resolved