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

Inconsistent handling of empty selectors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Engine 2.15.6
    • Engine 2.15.8
    • Engine
    • None

    Description

      In accordance with the code found here, empty selectors are explicitly disallowed. However, the parsing of selectors is making request with all empty selector as valid.

      i.e:
      Requests will empty selectors like: "/test/resource/path..a...html" are invalid
      While requests with all empty selectos "/test/resource/path.....html" are valid

      Which indicates an inconsistent behaviour.

      Attached tests to demonstrate the same (inconsistent_empty_selectors.patch)

      Attachments

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              sagarmiglani Sagar Miglani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: