|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| 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. |
String |
sanitizeString(String html,
String info)
Sanitizes a string. |
| Method Detail |
|---|
void sanitizeDocument(DocumentModel doc)
throws ClientException
ClientException
String sanitizeString(String html,
String info)
html - the string to sanitizeinfo - additional info logged when something is sanitized
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||