Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
XSS Protection API 2.2.6
-
None
-
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.