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

XssFilter should not depend on MetricsService

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • XSS Protection API 2.2.6
    • None
    • XSS Protection API
    • None

    Description

      Although metrics are nice to have, it shouldn't be required to have Sling Metrics installed to be able to use Sling XSS. Therefore the reference in https://github.com/apache/sling-org-apache-sling-xss/blob/d12a3eb325a75e6892f3aea16dbde9400808e26d/src/main/java/org/apache/sling/xss/impl/XSSFilterImpl.java#L178 should be made optional (but greedy). Same for the package imports.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: