[
https://issues.apache.org/jira/browse/JAMES-3590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17349806#comment-17349806
]
Andreas Valdma commented on JAMES-3590:
---------------------------------------
Do you think the matcher should be generic. match
"HtmlPartContainsTag=script,img"?
Or just a simple matcher that checks for script tags. rigth now i have made a
very customizable mailet but i dont know if it is possible to make the matcher
also this customizable.
https://github.com/andrevka/james-project/commit/de764d72d9a3f3b1a8c5ccc7834834b57c3a1320#diff-64c465d5c634e66ff9db3e8477086295897a47e901d0f2065f7c79f14eab6d98
> Sanitization mailet and matcher
> -------------------------------
>
> Key: JAMES-3590
> URL: https://issues.apache.org/jira/browse/JAMES-3590
> Project: James Server
> Issue Type: New Feature
> Reporter: Andreas Valdma
> Priority: Minor
>
> Add a matcher using Mime4J to find body parts that need sanitization
> Add a mailet using Jsoup to sanitize html
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]