You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2015/03/24 16:02:53 UTC

[jira] [Created] (SLING-4542) The XSSFilterImpl cannot always be successfully activated

Radu Cotescu created SLING-4542:
-----------------------------------

             Summary: The XSSFilterImpl cannot always be successfully activated
                 Key: SLING-4542
                 URL: https://issues.apache.org/jira/browse/SLING-4542
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: XSS Protection API 1.0.0
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: XSS Protection API 1.0.2


The {{XSSFilterImpl}} depends on initial content from the same bundle for a successful activation.

Due to the race conditions described in SLING-4539, and as well due to the fact that bundles can be installed before the {{org.apache.sling.jcr.contentloader}} bundle has managed to install initial content, the {{XSSFilterImpl}} should try to load the default policies from the embedded bundle resource if the content resource has not yet been installed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)