-
Notifications
You must be signed in to change notification settings - Fork 51
#5979 Better detection for emails with noname attachments #5980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#5979 Better detection for emails with noname attachments #5980
Conversation
We'd normally, wrote test for such PR but for such case, its a customer email and I cannot wrote such that specific test email with a "noname" file that has "application/pdf" type. I think the most feasible and right way to do this is by splitting the test |
Hi @sosnovsky - this one is ready for a review. Thank you. |
It'll be useful to have such test, so in the future we won't break correct |
Hi @sosnovsky, I tried your suggestion and it works flawlessly by using https://addons.thunderbird.net/en-US/thunderbird/addon/header-tools-lite/?src=search. This tool definitely helps a lot. |
…etection-for-emails-with-noname-attachments
Hello @sosnovsky, I've added a test by crafting one. Please let me know if this looks good to you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all good now, thanks!
This PR add an in-between detection before concluding that the detected
noname
file is a possibleencryptedMsg
.close #5979
Tests (delete all except exactly one):
To be filled by reviewers
I have reviewed that this PR... (tick whichever items you personally focused on during this review):