Re: Header unfolding in archived mail

From: Noah Misch <noah(at)leadboat(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Header unfolding in archived mail
Date: 2015-12-16 03:22:43
Message-ID: 20151216032243.GA2407557@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Sun, Dec 15, 2013 at 05:56:13PM +0100, Magnus Hagander wrote:
> On Mon, Dec 9, 2013 at 1:41 AM, Noah Misch <noah(at)leadboat(dot)com> wrote:
> > On Sat, Sep 07, 2013 at 06:07:45PM -0400, Noah Misch wrote:
> > > Per RFC 5322, section 2.2.3:
> > >
> > > The process of moving from this folded multiple-line representation
> > > of a header field to its single line representation is called
> > > "unfolding". Unfolding is accomplished by simply removing any CRLF
> > > that is immediately followed by WSP. Each header field should be
> > > treated in its unfolded form for further syntactic and semantic
> > > evaluation. An unfolded header field has no length restriction and
> > > therefore may be indeterminately long.

> > > I have attached a patch, against pgarchives.git, making its unfolding
> > > code conform to RFC 5322.

> > Ping. Any advice on how to more-thoroughly test the pgarchives.git
> > change, or where I might find the corresponding code affecting "raw"
> > message display?

> This one is entirely on me, I just haven't been able to get around to it
> yet :( It's still on my TODO list though, so I haven't given up on you!

Ping.

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Guillaume Lelarge 2015-12-16 16:32:19 Spam on the wiki
Previous Message Peter Geoghegan 2015-12-13 21:21:38 Re: Problem with archives -- mail gets lost