GNOME Bugzilla – Bug 625169
Option to suppress viewing of HTML only email no longer works
Last modified: 2021-05-19 12:14:30 UTC
When receiving email with only an HTML part, it gets rendered as HTML, even though I have the “Only ever show plain text” option set in Mail Preferences > HTML Messages > Plain Text Mode > HTML Mode. I believe this option stopped working with the upgrade of Evolution to 2.30 from 2.28. Previously all HTML email was shown as being blank, with the suppressed HTML email parts shown as attachments. For security reasons, I would prefer that my computer not try and render the HTML contained in spam messages I receive. I am running the Debian Testing distribution of GNU/Linux.
I've changed the component to 'Plugins' because I believe the issue is with the Prefer Plain Text plugin. Also, here are some headers from a problematic email which may be useful... Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 8bit Content-Disposition: inline
As far as I can tell, the problem does not occur anymore with 3.2.2. The body of HTML only emails is not displayed and the HTML part is attached as expected.
Created attachment 220292 [details] multipart/mixed message
Created attachment 220293 [details] text/html message
Created attachment 220294 [details] multipart/alternative message
I see this bug in Evolution 3.2.3. From what I have observed a "Content-Disposition: inline" header overrules the "only ever show plain text" pref when sent as part of a multipart/mixed or text/html message (testcases 1&2). Messages of type multipart/alternative (testcase 3) function as expected and are converted to an attachment.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines and create a new bug report ticket at https://gitlab.gnome.org/GNOME/evolution/-/issues/ Thank you for your understanding and your help.