Interface IXssBlacklist
- All Known Implementing Classes:
DefaultXssBlackList
,NullXssBlacklist
public interface IXssBlacklist
Cross-site scripting (XSS) filter which uses a blacklist to sanitize potentially unsafe input.
- Since:
- 9.9.7
- Author:
- Petru Galanton
-
Method Summary
-
Method Details
-
sanitize
Checks the provided input against this blacklist and returns the sanitized input.- Parameters:
input
- the input to be checked- Returns:
- the sanitized input
-
isValid
Checks the provided input against this blacklist.- Parameters:
input
- the input to be checked- Returns:
- true if the input is valid, false otherwise.
-