james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Valdma (Jira)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-3590) Sanitization mailet and matcher
Date Sat, 22 May 2021 18:07:00 GMT

    [ 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.


> 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

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message