SanitizeHtml()
Sanitizes unsafe HTML input and removes elements and attributes like JavaScript, onclick, etc.
See also OWASP Java HTML Sanitizer
Requires Extension: ESAPI extension
SanitizeHtml( string=string, policy=any );
Returns: String
Examples
There are currently no examples for this functionSee also
- Encode/Decode
- HTML
- string.sanitizeHTML()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)