[owasp-antisamy] Help with ignoring invalid attribute name in HTML Tag

Chao Jiang Chao.Jiang at anu.edu.au
Sun Feb 27 23:12:25 EST 2011


Hi All

 

One quick question please.

 

When AntiSamy encounters invalid HTML as follows (using number as
attribute name), it will throw exception

 

<img src="http://www.xxx.com/xxx.gif" 3="" width="10" height="1"
border="0">

 

 

How can I update antisamy.xml file to ignore the error or even remove
it?

 

By the way I am using version 1.4.

 

Thanks a lot.

 

Kind regards

Chao

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.owasp.org/pipermail/owasp-antisamy/attachments/20110228/c5a8b8ec/attachment.html 


More information about the Owasp-antisamy mailing list