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 mailcap rendering for e-mails without Content-Type
header
#1513
Conversation
`get_params()` returns `None` when the header is missing. Use `failobj` argument to mitigate that. Fixes pazz#1512
Thanks! |
Add a patch to fix a rendering problem with mails without Content-Type header. Patch is based on a bug already fixed in master in this PR: pazz/alot#1513 I find it important because without it, there is no way to see any mail sent via `git send-email` on projects with email-driven git workflows. Apparently, `git send-email` doesn't add the aforementioned header.
@pazz : You might want to create a minor release with this particular fix. It turns out that all the mails sent via I already added the patch of this PR on void-linux: void-linux/void-packages#25997 But I ignore what's the experience with the rest of linux distributions. If you are already aware of this, or you don't find it important, just disregard my message :) |
thanks for making me aware! |
If you think it makes sense, making a minor release on a separate branch that only backports this fix could work as well :) |
Add a patch to fix a rendering problem with mails without Content-Type header. Patch is based on a bug already fixed in master in this PR: pazz/alot#1513 I find it important because without it, there is no way to see any mail sent via `git send-email` on projects with email-driven git workflows. Apparently, `git send-email` doesn't add the aforementioned header.
Glad to help @pazz . |
Add a patch to fix a rendering problem with mails without Content-Type header. Patch is based on a bug already fixed in master in this PR: pazz/alot#1513 I find it important because without it, there is no way to see any mail sent via `git send-email` on projects with email-driven git workflows. Apparently, `git send-email` doesn't add the aforementioned header.
get_params()
returnsNone
when the header is missing. Usefailobj
argument to mitigate that.Fixes #1512