filters.BaseFilter | +--filters.ForeignPostFilter
Method Summary | |
public string |
getAllowedDomains()
Returns the list of allowed domains set in setAllowedDomains |
public string |
getAllowNullOrigin()
Returns true if null Origin headers are allowed. |
public array |
getConfigurables()
Returns a list of configurable properties |
public string |
getDescription()
|
public string |
getName()
|
public string |
getThreatCategory()
Returns csrf |
public numeric |
inspectRequest()
|
public void |
setAllowedDomains([string allowedDomains])
Set a list of domains that are allowed to POST to this application, eg a.example.com,b.example.com. The current cgi.server_name is allowed by default |
public void |
setAllowNullOrigin([boolean allowNullOrigin])
Set if Origin: null is allowed. |
Method Detail |
public string getAllowedDomains()
public string getAllowNullOrigin()
public array getConfigurables()
public string getDescription()
public string getName()
public string getThreatCategory()
public numeric inspectRequest()
public void setAllowedDomains([string allowedDomains])
[string allowedDomains]
- A list of domains namespublic void setAllowNullOrigin([boolean allowNullOrigin])
[boolean allowNullOrigin]
- Allow or disallow null Origin header