unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18792: multipart/related with "cid:" image not shown
@ 2014-10-22 14:01 Stefan Monnier
  2017-01-25 20:32 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Monnier @ 2014-10-22 14:01 UTC (permalink / raw)
  To: 18792

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@gnu.ca>
   Subject: blabla
   To: Stefan Monnier <monnier@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@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@gnu.ca>
   Subject: blabla
   To: Stefan Monnier <monnier@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#18792: multipart/related with "cid:" image not shown
  2014-10-22 14:01 bug#18792: multipart/related with "cid:" image not shown Stefan Monnier
@ 2017-01-25 20:32 ` Lars Ingebrigtsen
  2017-01-25 21:44   ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-25 20:32 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 18792

Stefan Monnier <monnier@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@gnu.ca>
>    Subject: blabla
>    To: Stefan Monnier <monnier@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@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#18792: multipart/related with "cid:" image not shown
  2017-01-25 20:32 ` Lars Ingebrigtsen
@ 2017-01-25 21:44   ` Stefan Monnier
  2017-01-25 21:51     ` Lars Ingebrigtsen
  2017-01-26  9:16     ` Andreas Schwab
  0 siblings, 2 replies; 6+ messages in thread
From: Stefan Monnier @ 2017-01-25 21:44 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 18792

> 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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#18792: multipart/related with "cid:" image not shown
  2017-01-25 21:44   ` Stefan Monnier
@ 2017-01-25 21:51     ` Lars Ingebrigtsen
  2018-04-12 21:24       ` Lars Ingebrigtsen
  2017-01-26  9:16     ` Andreas Schwab
  1 sibling, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2017-01-25 21:51 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 18792

Stefan Monnier <monnier@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#18792: multipart/related with "cid:" image not shown
  2017-01-25 21:44   ` Stefan Monnier
  2017-01-25 21:51     ` Lars Ingebrigtsen
@ 2017-01-26  9:16     ` Andreas Schwab
  1 sibling, 0 replies; 6+ messages in thread
From: Andreas Schwab @ 2017-01-26  9:16 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Lars Ingebrigtsen, 18792

On Jan 25 2017, Stefan Monnier <monnier@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#18792: multipart/related with "cid:" image not shown
  2017-01-25 21:51     ` Lars Ingebrigtsen
@ 2018-04-12 21:24       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-12 21:24 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 18792

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Stefan Monnier <monnier@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-04-12 21:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-22 14:01 bug#18792: multipart/related with "cid:" image not shown Stefan Monnier
2017-01-25 20:32 ` Lars Ingebrigtsen
2017-01-25 21:44   ` Stefan Monnier
2017-01-25 21:51     ` Lars Ingebrigtsen
2018-04-12 21:24       ` Lars Ingebrigtsen
2017-01-26  9:16     ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).