Re: mbox/pgsql-hackers.202003 missing all messages after 2020-03-09

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: mbox/pgsql-hackers.202003 missing all messages after 2020-03-09
Date: 2020-08-09 13:25:11
Message-ID: CABUevEwookHzyDR+D5HcY3=P99kpW4J4R6SxrtnRm3q3ONN7+A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Sun, Aug 9, 2020 at 9:45 AM Noah Misch <noah(at)leadboat(dot)com> wrote:

> On Fri, Aug 07, 2020 at 11:51:27AM +0200, Magnus Hagander wrote:
> > On Fri, Aug 7, 2020 at 5:05 AM Noah Misch <noah(at)leadboat(dot)com> wrote:
> > > On Thu, Aug 06, 2020 at 11:37:17AM +0200, Magnus Hagander wrote:
> > > > In this particular case, it was git-send-email setting
> > > > content-transfer-encoding to 8bit and then passing utf8 data in
> there.
> > >
> > > What is wrong with that? It would be wrong to set
> > > "Content-Transfer-Encoding:
> > > BASE64" and then include utf8, but "Content-Transfer-Encoding: 8bit"
> sounds
> > > okay under my limited understanding of MIME.
> >
> > You are of course correct. The content-transfer-encoding is fine. I was
> > checking too many headers and forgot which one was actually the broken
> one.
> >
> > The problem is it does not specify the *charset*. It does so specifically
> > for the From header, but not for the main body. And without an encoding
> > specified, the main body is limited to 7 bit ascii (and it contained utf8
> > which made things go boom).
>
> Hmm. Can you reply attaching the verbatim message, or otherwise point to
> how
> to view it? While I can cause an improper charset as follows, this doesn't
> look like a match for the symptom you found.
>

I will grab it out and send you off-list.

>
> $ echo ä >>README; git commit -m 'test utf8' README
> [master 2cbac89] test utf8
> 1 file changed, 1 insertion(+)
> $ git -c "sendemail.assume8bitEncoding=bogus" send-email --to=
> noah(at)leadboat(dot)com HEAD^..HEAD
> /tmp/UHeTvyTROO/0001-test-utf8.patch
> (mbox) Adding cc: Noah Misch <noah(at)leadboat(dot)com> from line 'From: Noah
> Misch <noah(at)leadboat(dot)com>'
>
> From: Noah Misch <noah(at)leadboat(dot)com>
> To: noah(at)leadboat(dot)com
> Subject: [PATCH] test utf8
> Date: Sun, 9 Aug 2020 00:43:18 -0700
> Message-Id: <1596958998-448745-1-git-send-email-noah(at)leadboat(dot)com>
> X-Mailer: git-send-email 1.8.3.1
> MIME-Version: 1.0
> Content-Type: text/plain; charset=bogus
> Content-Transfer-Encoding: 8bit
> ...
>

In the emails that are failing, that Content-Type header simply does not
exist.

--
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 2020-08-09 13:30:20 Re: mbox/pgsql-hackers.202003 missing all messages after 2020-03-09
Previous Message Magnus Hagander 2020-08-09 10:57:35 Re: Linux download pages weirdness