|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.FrameworkSupertype
coldbox.system.Plugin
coldbox.system.plugins.AntiSamy
public class 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 |
---|
|
Constructor Detail |
---|
public init(any controller)
controller
Method Detail |
---|
public Any HTMLSanitizer(string HTMLData, [string policyFile='ebay'], [boolean resultsObject='false'])
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 HTMLpublic Any clean(string HTMLData, [string policyFile='ebay'], [boolean resultsObject='false'])
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
|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |