Verified Commit f6c4a2f7 authored by
Strip HTML-part if keywords are present to stop leaking them.
The HTML-part of multipart/alternative-messages also contain the keywords. We don't parse them because we don't touch any HTML. In order to prevent the keywords from being disclosed to third parties (e.g. through resent messages), we strip the HTML-part completely.
Showing with 85 additions and 0 deletions
lib/schleuder/filters/post_decryption/90_strip_html_from_alternative_if_keywords_present.rb 0 → 100644