|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HtmlSanitizerService
Service that sanitizes some HTML fields to remove potential cross-site scripting attacks in them.
Method Summary | |
---|---|
void |
sanitizeDocument(DocumentModel doc)
Sanitizes a document's fields, depending on the service configuration. |
java.lang.String |
sanitizeString(java.lang.String html,
java.lang.String info)
Sanitizes a string. |
Method Detail |
---|
void sanitizeDocument(DocumentModel doc) throws ClientException
ClientException
java.lang.String sanitizeString(java.lang.String html, java.lang.String info)
html
- the string to sanitizeinfo
- additional info logged when something is sanitized
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |