Re: archive not showing all attachements

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>, pgsql-www(at)postgresql(dot)org, Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>
Subject: Re: archive not showing all attachements
Date: 2022-04-01 13:43:08
Message-ID: CABUevEw-7kVMNRA=B3c4R_nxgs6Y0V9i-JLZbkVrO1xjKm574g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Sat, Mar 26, 2022 at 8:48 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Andres Freund <andres(at)anarazel(dot)de> writes:
> > On 2022-03-26 18:41:39 +0100, Magnus Hagander wrote:
> >> MIME parsing in general is black magic, but in this case it seems pretty
> >> clear that showing it as an attachment is plain wrong. Not showing it at
> >> all, however, is also wrong, but I'm not sure how much complexity it's
> worth
> >> to handle this case, given it's the first time I've heard of the
> problem.
>
> > I'm not sure we'd really notice. I dimly recall encountering something
> like
> > this before and somebody else complaining about it.
>
> I've definitely seen other cases where the archives fail to show a portion
> of a message that I can see by other means. Whether this particular
> mechanism was the cause, I can't say of course.
>
> I recall an example recently [ digs... ] ah, here:
>
>
> https://www.postgresql.org/message-id/7f6fabaa-3f8f-49ab-89ca-59fbfe633105@me.com
>
> There is a patch in there, but it looks like the boundary line
> for the preceding section might be messed up?
>

Oh, there's definitely emails it mis-parses, just not for this reason. In
your example for example, the problem is the one where the attachment is
only attached to the HTML part and not the text part (and not the email
itself), and we don't show the HTML part. Which is a known, but different,
case.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2022-04-01 14:04:15 Re: archive not showing all attachements
Previous Message Tatsuro Yamada 2022-03-31 23:18:48 Re: Broken link on the Sponsors page