Interface HtmlSanitizerService
-
- All Known Implementing Classes:
HtmlSanitizerServiceImpl
public interface HtmlSanitizerService
Service that sanitizes some HTML fields to remove potential cross-site scripting attacks in them.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
sanitizeDocument(DocumentModel doc)
Sanitizes a document's fields, depending on the service configuration.String
sanitizeString(String html, String info)
Sanitizes a string.
-
-
-
Method Detail
-
sanitizeDocument
void sanitizeDocument(DocumentModel doc)
Sanitizes a document's fields, depending on the service configuration.
-
-