Konrad Windszus created SLING-9678:
--------------------------------------

             Summary: XssFilter should not depend on MetricsService
                 Key: SLING-9678
                 URL: https://issues.apache.org/jira/browse/SLING-9678
             Project: Sling
          Issue Type: Improvement
          Components: XSS Protection API
    Affects Versions: XSS Protection API 2.2.6
            Reporter: Konrad Windszus


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to