Implementation based on https://github.com/OWASP/java-html-sanitizer/blob/f07e44b034a45d94d6fd010279073c38b6933072/src/main/java/org/owasp/html/FilterUrlByProtocolAttributePolicy.java
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: Sanitized linkImageLink to sanitize url)Sanitize a url for use in the src attribute of a |
| public String | Returns: Sanitized linkLink to sanitize url)Sanitize a url for use in the href attribute of a |
| sanitizeImageUrl | back to summary |
|---|---|
| public String sanitizeImageUrl(String url) Sanitize a url for use in the src attribute of a | |
| sanitizeLinkUrl | back to summary |
|---|---|
| public String sanitizeLinkUrl(String url) Sanitize a url for use in the href attribute of a | |