GNU bug report logs - #18792
multipart/related with "cid:" image not shown

Previous Next

Packages: gnus, emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Wed, 22 Oct 2014 14:02:02 UTC

Severity: normal

Found in version 24.4.51

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: multipart/related with "cid:" image not shown
Date: Wed, 22 Oct 2014 10:01:21 -0400
Package: Emacs,gnus
Version: 24.4.51


[ This also affects trunk, and has probably been going on for a while
  now.  ]

I regularly receive emails that contain "a tiny bit of HTML text around
a picture".  Often these have the following MIME structure:

    multipart/related
      multipart/alternative
        text/plain
        text/html
      image/jpeg

where the HTML refers to the image via a "cid:" URL.

Here's the problem: Gnus seems to only show me the first element of the
multipart/related and does not let me get access to the image.

More specifically, I get a display such as:

   From: "Toto" <toto <at> gnu.ca>
   Subject: blabla
   To: Stefan Monnier <monnier <at> iro.umontreal.ca>
   Date: Wed, 22 Oct 2014 12:59:18 +0000 (47 minutes, 13 seconds ago)
   
   1.  (*) text/plain          ( ) text/html           
   
   Mira esto
   [cid:ED58E6891D72E141A6C22D4BAFEF436F <at> gnu.ca]

Notice the lack of any button to view the image/jpeg subpart.
The same problem shows up if I select the text/html:

   From: "Toto" <toto <at> gnu.ca>
   Subject: blabla
   To: Stefan Monnier <monnier <at> iro.umontreal.ca>
   Date: Wed, 22 Oct 2014 12:59:18 +0000 (47 minutes, 13 seconds ago)
   
   1.  ( ) text/plain          (*) text/html           
   
       Mira esto
       
   *

It looks marginally different because it's rendered by shr.el, but the
problem remains that I have no access to the attached image.


        Stefan




This bug report was last modified 7 years and 37 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.