lucee.Component
cbantisamy.AntiSamy
Copyright 2005-2007 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- OWASP AntiSamy Project that provides XSS cleanup operations to ColdBox applications http://www.owasp.org/index.php/Category:OWASP_AntiSamy_Project http://code.google.com/p/owaspantisamy/downloads/list
| Property Summary | ||||
|---|---|---|---|---|
| type | property | default | serializable | required |
any
|
javaLoader
|
true
|
false
|
|
any
|
moduleSettings
|
true
|
false
|
|
| Constructor Summary | |
|---|---|
|
init()
Constructor. |
|
| Method Summary | |
|---|---|
any
|
clean(any HTMLData, [string policyFile='ebay'], [boolean resultsObject='false'])
clean HTML from XSS scripts using the AntiSamy project. |
any
|
HTMLSanitizer(any HTMLData, [string policyFile='ebay'], [boolean resultsObject='false'])
clean HTML from XSS scripts using the AntiSamy project. |
any
|
onDIComplete()
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
Constructor
| Property Detail |
|---|
access - publicrequired - falsereturntype - anyinject - loader@cbjavaloaderserializable - trueaccess - publicrequired - falsereturntype - anyinject - coldbox:setting:antisamyserializable - true| Method Detail |
|---|
clean HTML from XSS scripts using the AntiSamy project. The available policies are antisamy, ebay, myspace, slashdot, custom
HTMLDatapolicyFileresultsObjectclean HTML from XSS scripts using the AntiSamy project. The available policies are antisamy, ebay, myspace, slashdot, custom
HTMLData - The html data to cleanpolicyFile - The policy file to use, by default it uses the ebay policy fileresultsObject - By default it just returns the cleaned HTML, but if this is true, it will return the actual Java results object.