[owasp-antisamy] Mandatory attributes
augustd at codemagi.com
Sat Oct 1 04:54:25 EDT 2011
The policy file includes the *nofollowAnchors *directive. It will
automatically add rel="nofollow" to A tags. This would probably be a good
place to start looking if you wanted to add this feature.
On Thu, Sep 29, 2011 at 7:51 AM, Jason Li <jason.li at owasp.org> wrote:
> Unfortunately, I don't believe that's currently possible to express that
> requirement in the AntiSamy policy file.
> On Thu, Sep 29, 2011 at 7:16 AM, Erlend Oftedal <eoftedal at gmail.com>wrote:
>> I would like to verify or enforce that all links have a target attribute
>> set to "_blank".
>> Is there a way to?
>> a) Specify that an attribute is mandatory?
>> b) Ask Antisamy to add the attribute if not present?
>> Best regards
>> Erlend Oftedal
>> Owasp-antisamy mailing list
>> Owasp-antisamy at lists.owasp.org
> Owasp-antisamy mailing list
> Owasp-antisamy at lists.owasp.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Owasp-antisamy