[Owasp-antisamy] Change special characters to numeric values

Jim Manico jim at manico.net
Thu Dec 27 17:05:17 EST 2007


You would be better off using the HTMLEntityEncoder OWASP utility for
this purpose.

http://www.owasp.org/index.php/How_to_perform_HTML_entity_encoding_in_Java

- Jim
> Hi,
>
> I am newbie to AntiSamy. Is it possible to replace special characters
> such as # $ with numeric values # $ using AntiSamy class which
> returns CleanResults object?
> I see that it is automatical done for '&' character when CleanResults
> .getCleanHTML() is called.
>
> Thanks.
>
> --sync 
> ------------------------------------------------------------------------
>
> _______________________________________________
> Owasp-antisamy mailing list
> Owasp-antisamy at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/owasp-antisamy
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.516 / Virus Database: 269.17.9/1198 - Release Date: 12/26/2007 5:26 PM
>   

-- 
Best Regards,
Jim Manico
VP Software Engineering, Codemagi Inc.
Application Security Instructor, Aspect Security
jim at codemagi.com
808.652.3805 (c)
484.259.3805 (f)

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


More information about the Owasp-antisamy mailing list