Antisamy configuration locations
I see antisamy configuration in 2 locations.
- /libs/cq/xssprotection/config.xml
- /libs/sling/xss/config.xml
I was trying to add rule for custom tag for br tag. It worked only after I added rule to 2nd one. I would overlay the working one to apps, first tried locally in libs.
<tag name="br" action="validate"> <attribute name="aria-hidden"> <regexp-list> <regexp name="boolean"/> </regexp-list> </attribute> </tag>
Question is, what is the role of these two antisamy configuration locations, which one is correct location?