XSS AntiSamy configuration for data attributes
If I had an overlay of of the AntiSamy config file at /apps/cq/xssprotection/config.xml, could I adjust it to allow random data attributes specified by authors? I see it uses regular expressions to validate attribute values, but can I use a regular expression to validate an attribute name? For example, say an author wanted a div to have a data attribute with a name that ended in random letters like:
<div data-author-xbqmuwzkcsa="somevalue"></div>
Is there a way to allow random attribute names like that in the AntiSamy config?