[owasp-antisamy] Mandatory attributes

augustd 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.

-August



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.
>
> -Jason
>
> On Thu, Sep 29, 2011 at 7:16 AM, Erlend Oftedal <eoftedal at gmail.com>wrote:
>
>> Hi
>>
>> 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
>> https://lists.owasp.org/mailman/listinfo/owasp-antisamy
>>
>>
>
> _______________________________________________
> Owasp-antisamy mailing list
> Owasp-antisamy at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/owasp-antisamy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/owasp-antisamy/attachments/20111001/8f0249e6/attachment.html 


More information about the Owasp-antisamy mailing list