WEB-INF.cftags.component coldbox.system.FrameworkSupertype coldbox.system.Plugin coldbox.system.plugins.AntiSamy
OWASP AntiSamy Project that provides XSS cleanup operations to ColdBox applications
Constructor Summary | |
---|---|
init(any controller)
|
Method Summary | |
---|---|
Any
|
HTMLSanitizer(string HTMLData, [string policyFile='ebay'], [boolean resultsObject='false'])
clean HTML from XSS scripts using the AntiSamy project. |
Any
|
clean(string HTMLData, [string policyFile='ebay'], [boolean resultsObject='false'])
clean HTML from XSS scripts using the AntiSamy project. |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
controller
Method Detail |
---|
clean HTML from XSS scripts using the AntiSamy project. The available policies are antisamy, ebay, myspace, slashdot, custom
HTMLData
- The html text to sanitizepolicyFile
- Provide policy file to scan html. Available options are: antisamy, ebay, myspace, slashdot, tinymce, customresultsObject
- Return the cleaned HTML or the results object. By default it is the cleaned HTMLclean HTML from XSS scripts using the AntiSamy project. The available policies are antisamy, ebay, myspace, slashdot, custom
HTMLData
- The html text to sanitizepolicyFile
- Provide policy file to scan html. Available options are: antisamy, ebay, myspace, slashdot, tinymce, customresultsObject
- Return the cleaned HTML or the results object. By default it is the cleaned HTML