bug#81535: 32.0.50; Bug fix: bodiless articles w/plain text as the only attachment always get attachment inlined & never buttonized
Sean Whitton <[email protected]> Tue, 04 Aug 2026 13:38:48 +0100
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
Nickolai Dobrynin [02/Aug 5:02am +02] wrote: > Attached is a patch that fixes the following problem: > > 1. In violations of RFC2183, bodiless articles whose only attachment is > a plain text file always get the attachment inlined despite > > Content-Disposition: attachment; filename=attachment.txt > > being present. > > 2. The attachment is never buttonized, no matter the value of the > variables like `gnus-buttonized-mime-types'. Extracting unbuttonized > attachments is problematic. > > Since this is _not_ a multipart/* article, `mm-dissect-singlepart' in > mm-decode.el disregards this corner case and thinks that the attachment > is not a MIME element, so this element is left unprocessed. Thanks. Adding some Gnus people for review. -- Sean Whitton