Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8110

Take extensions, selectors etc. into account for selecting path-mounted servlets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Servlets Resolver 2.6.0
    • Servlets
    • 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

          Activity

            People

              bdelacretaz Bertrand Delacretaz
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: