Re: Attachment decode issue

Kurt Hackenberg <[email protected]> Fri, 28 Mar 2025 17:49:24 -0400
Newsgroups gmane.mail.mutt.user
Message-ID <[email protected]>
On Fri, Mar 28, 2025 at 03:07:15PM -0600, Daniel Carroll wrote:

>I think I've identified the issue, but my question is: is this a bug 
>or expected behavior?
>
>Background:  I received an e-mail with an attached ZIP file 
>(base64-encoded), where the attachment had the following mime headers:
>    Content-Type: text/plain; name="name.zip"
>    Content-Transfer-Encoding: base64

I think that's a bug in the software that generated the message, not a 
bug in Mutt. That Content-Type: is wrong. It should be application/zip 
if that exists, else application/octet-stream.