Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1401567

Summary: multipart/related HTML + image attachments not shown in viewer
Product: Red Hat Enterprise Linux 7 Reporter: Don Pellegrino <don>
Component: muttAssignee: Matej Mužila <mmuzila>
Status: CLOSED NOTABUG QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.3CC: databases-maint, don, hhorak
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-26 12:28:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Don Pellegrino 2016-12-05 15:06:19 UTC
Description of problem:

Using mutt with the default mailcap, Firefox is used to view text/html attachments that are part of a multipart/related attachment. However, the image/jpeg attachements that are part of the same multipart/related attachment are not rendered. Instead they are shown as broken links.

Version-Release number of selected component (if applicable):

$ rpm -qi mutt
Name        : mutt
Epoch       : 5
Version     : 1.5.21
Release     : 26.el7
Architecture: x86_64
Install Date: Mon 10 Oct 2016 12:41:54 PM EDT
Group       : Applications/Internet
Size        : 6156971
License     : GPLv2+ and Public Domain
Signature   : RSA/SHA256, Wed 02 Apr 2014 12:16:01 PM EDT, Key ID 199e2f91fd431d51
Source RPM  : mutt-1.5.21-26.el7.src.rpm
Build Date  : Fri 14 Mar 2014 07:33:47 AM EDT
Build Host  : x86-019.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://www.mutt.org/
Summary     : A text mode mail user agent
Description :
Mutt is a small but very powerful text-based MIME mail client.  Mutt
is highly configurable, and is well suited to the mail power user with
advanced features like key bindings, keyboard macros, mail threading,
regular expression searches and a powerful pattern matching language
for selecting groups of messages.

How reproducible:

Always

Steps to Reproduce:

1. Use mutt to view an IMAP folder.
2. Open an IMAP message having a multipart/related attachment made of html and images.
3. Observe the Firefox opens and renders the html but displays broken links where the images should be rendered.

Expected results:

The HTML with images should be rendered.

Additional info:

Not sure if this should be a bug against mutt or mailcap.

Comment 2 Matej Mužila 2017-01-19 08:50:29 UTC
Hi.

In fact firefox cannot display text/html attachment properly. In mails are used resource locators different to locators used in web [1] therefore firefox shows
it as a broken link.

The other problem is that when you view an text/html attachment in mutt,
only the text/html part is extracted and sent to firefox (or any other 
program). No other parts (eg. the images) are extracted from the mail message.



[1] https://tools.ietf.org/html/rfc2392