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

Previous Next

Packages: emacs, gnus;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18792 in the body.
You can then email your comments to 18792 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#18792; Package emacs,gnus. (Wed, 22 Oct 2014 14:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org. (Wed, 22 Oct 2014 14:02:03 GMT) Full text and rfc822 format available.

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




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#18792; Package emacs,gnus. (Wed, 25 Jan 2017 20:34:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 18792 <at> debbugs.gnu.org
Subject: Re: bug#18792: multipart/related with "cid:" image not shown
Date: Wed, 25 Jan 2017 21:32:58 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> [ 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]

I haven't used "buttonised" article display in yonks, but I think cid:
basically works for me in the articles (I mean spam) I see, and they are
usually multipart/alternative wrapped in multipart/related, I seem to
remember from the last time I looked at it.

Could you forward a complete message that displays the issue?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#18792; Package emacs,gnus. (Wed, 25 Jan 2017 21:45:01 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 18792 <at> debbugs.gnu.org
Subject: Re: bug#18792: multipart/related with "cid:" image not shown
Date: Wed, 25 Jan 2017 16:44:53 -0500
> I haven't used "buttonised" article display in yonks, but I think cid:

Hmm... I don't remember choosing a "buttonised" article display, and
don't know what alternative there might be.


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#18792; Package emacs,gnus. (Wed, 25 Jan 2017 21:52:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 18792 <at> debbugs.gnu.org
Subject: Re: bug#18792: multipart/related with "cid:" image not shown
Date: Wed, 25 Jan 2017 22:51:14 +0100
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

>> I haven't used "buttonised" article display in yonks, but I think cid:
>
> Hmm... I don't remember choosing a "buttonised" article display, and
> don't know what alternative there might be.

I think that's controlled by `gnus-unbuttonized-mime-types'?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#18792; Package emacs,gnus. (Thu, 26 Jan 2017 09:17:02 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 18792 <at> debbugs.gnu.org
Subject: Re: bug#18792: multipart/related with "cid:" image not shown
Date: Thu, 26 Jan 2017 10:16:20 +0100
On Jan 25 2017, Stefan Monnier <monnier <at> IRO.UMontreal.CA> wrote:

>> I haven't used "buttonised" article display in yonks, but I think cid:
>
> Hmm... I don't remember choosing a "buttonised" article display, and
> don't know what alternative there might be.

You can always use C-d (gnus-summary-enter-digest-group) to inspect the
article's elements as separate articles.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#18792; Package emacs,gnus. (Thu, 12 Apr 2018 21:25:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 18792 <at> debbugs.gnu.org
Subject: Re: bug#18792: multipart/related with "cid:" image not shown
Date: Thu, 12 Apr 2018 23:24:20 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:
>
>>> I haven't used "buttonised" article display in yonks, but I think cid:
>>
>> Hmm... I don't remember choosing a "buttonised" article display, and
>> don't know what alternative there might be.
>
> I think that's controlled by `gnus-unbuttonized-mime-types'?

More information was requested, but no response was given within a few
months, so I'm closing this bug report.  If the problem still exists,
please reopen this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 18792 <at> debbugs.gnu.org and Stefan Monnier <monnier <at> iro.umontreal.ca> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 12 Apr 2018 21:25:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 11 May 2018 11:24:13 GMT) Full text and rfc822 format available.

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

Previous Next


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