
filters.BaseFilter | +--filters.VariablePatternFilter
| Method Summary | |
| public array | getConfigurables()Returns a list of configurable properties | 
| public string | getDescription() | 
| public string | getName() | 
| public string | getThreatCategory()Returns validation | 
| public numeric | inspectRequest() | 
| public boolean | matchesPattern(string input)Tests the input variable against the pattern | 
| public void | setAllowEmpty(boolean allow)Allows empty string if pattern does not match. | 
| public void | setPattern(string pattern)Allows you to specify the regular expression pattern for this filter to match | 
| public void | setRequireMatch(boolean match)Determines if the filter is looking for a match or not a match. | 
| public void | setVariableName([variableName scope], [variableName variableName])The name of the variable to inspect. | 
| public void | setVariableNameList([string variableNames])The name and scope of the variable | 
| Method Detail | 
public array getConfigurables()
public string getDescription()
public string getName()
public string getThreatCategory()
public numeric inspectRequest()
public boolean matchesPattern(string input)
string inputpublic void setAllowEmpty(boolean allow)
boolean allow - true for allow empty strings as valuespublic void setPattern(string pattern)
string pattern - regex to be used in ReFindpublic void setRequireMatch(boolean match)
boolean match - true to require a matchpublic void setVariableName([variableName scope], [variableName variableName])
[variableName scope] - cgi,form,url, or cookie[variableName variableName] - The Name of the Variablepublic void setVariableNameList([string variableNames])
[string variableNames] - The Name of the Variable