-
-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For attachments which are encoded with Unix-to-Unix encoding we are unable process some attachments in order to apply masks or censor rules to them. This is down to when the attachments are extracted and saved into the database. It happens outside of our `MailHandler` library which we're using to retrieve the original unmasked attachment body for processing. This change fixes this by checking plain text attachments for begin/end markers and calculating the relevant hexdigest for comparison. Fixes #7877
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters