-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
fix: related multipart image/*, audio/*, video/* inline attachments s… #71
base: main
Are you sure you want to change the base?
Conversation
@mdecimus Can you provide feedback on this PR? If this solution is unsatisfactory, can the docs be extended to explain in more detail in what cases |
Hi, I'm sorry but I don't have time to review this at the moment, I need to make sure this change does not break Stalwart Mail Server and I don't have time unfortunately. |
We've taken a second look and our suggested solution was defective. The fix we propose now is much more conservative and its only effect is to recategorize some parts that are We've added a helper diff that shows the location of the email parts whose type is affected by this change to simplify review and reviewed the changes to tests manually. The affected attachments follow the blueprint of #70 and are referenced inline in the HTML, but are To speed up review we've attempted to assess the impact on Nearly all mentions occur in match arms where both
This narrows the list down to few files that must be checked manually
Of these cases, the only case that seems to incur any significant change is to fix the indexing, which as far as we can tell currently will index a HTML message with inline images with |
…hould be InlineBinary
…Type::InlineBinary
… to PartType::InlineBinary" This reverts commit c733e17.
…hould be InlineBinary
Fixes #70
This PR is independent of #68 but I can rebase on top of those changes if you want.